deploy: clean up old containers before starting new ones
This commit is contained in:
@@ -51,6 +51,7 @@ if [ "$APP" = "nginx" ]; then
|
||||
docker compose run --rm -T nginx nginx -t
|
||||
fi
|
||||
|
||||
docker compose down --remove-orphans
|
||||
docker compose up -d
|
||||
|
||||
if [ "$APP" = "nginx" ]; then
|
||||
|
||||
Reference in New Issue
Block a user