contentdb/utils/update.sh

15 lines
326 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
#
set -e
docker-compose build app
docker-compose build worker
2019-11-21 23:27:21 +01:00
docker-compose up --no-deps -d app
2023-05-13 17:55:27 +02:00
docker-compose up --no-deps --scale worker=4 -d worker