This procedure does the following actions
- Update images from an archive or with docker pull
- Stop and drop active containers
- Purge application cache
- Launch services with new images
- Optional: database backup
- Optional: database migration
Command:
./upgrade
Here are upgrade command's options:
./upgrade \
-t <image-tag> \
-a <image-archive> \
-p <image-repository> \
-s <server-workers-number> \
-c <celery-workers-number> \
-b : backup database \
-u : update database \
-h : print upgrade command help
To manually stops all containers, here are the commands in order :
./paybox rm -v -f
./nginx rm -v -f
./web rm -v -f
./unoconv rm -v -f
./coog -- server rm -v -f
./coog -- celery rm -v -f
./portal down -v
If an error occurs during the upgrade process, here are commands to restart the whole environment. According to your configuration, the paybox related command is optional
./coog celery
./unoconv run
./coog server
./web server
./nginx run
./paybox run
./portal up