deploy: clean up old containers before starting new ones
This commit is contained in:
1 parent
e6cbc53065
commit
0493910966
1 file changed
+1
@@ -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