contentdb/utils/update.sh

13 lines
338 B
Bash
Raw Normal View History

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
#
sudo docker-compose build app
sudo docker-compose build worker
sudo docker-compose up --no-deps -d app
sudo docker-compose up --no-deps --scale worker=2 -d worker