contentdb/utils/update.sh
2023-05-13 16:55:27 +01:00

13 lines
318 B
Bash
Executable File

#!/bin/bash
#
# Call from a docker host to rebuild and update running instances of CDB.
# This is for production use. See reload.sh for debug mode hot/live reloading.
#
docker-compose build app
docker-compose build worker
docker-compose up --no-deps -d app
docker-compose up --no-deps --scale worker=4 -d worker