2019-11-21 23:27:21 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#
|
|
|
|
# Call from a docker host to rebuild and update running instances of CDB.
|
2020-01-19 00:20:34 +01:00
|
|
|
# This is for production use. See reload.sh for debug mode hot/live reloading.
|
2019-11-21 23:27:21 +01:00
|
|
|
#
|
|
|
|
|
2020-12-14 22:05:56 +01:00
|
|
|
docker-compose build app
|
|
|
|
docker-compose build worker
|
2019-11-21 23:27:21 +01:00
|
|
|
|
2020-12-14 22:05:56 +01:00
|
|
|
docker-compose up --no-deps -d app
|
|
|
|
docker-compose up --no-deps --scale worker=2 -d worker
|