Stop and remove existing containers before starting new ones in deployment script
All checks were successful
Deploy Production (admin.merchbay.app) / deploy (push) Successful in 2m20s
All checks were successful
Deploy Production (admin.merchbay.app) / deploy (push) Successful in 2m20s
This commit is contained in:
@@ -99,7 +99,11 @@ jobs:
|
||||
docker network inspect crew-app-net >/dev/null 2>&1 || \
|
||||
docker network create crew-app-net
|
||||
|
||||
echo "🚀 Starting containers (env vars from .env file)"
|
||||
echo "<EFBFBD> Stopping and removing existing containers"
|
||||
docker compose down || true
|
||||
docker rm -f merchbay_admin_app || true
|
||||
|
||||
echo "<22>🚀 Starting containers (env vars from .env file)"
|
||||
docker compose up -d
|
||||
|
||||
echo "⏳ Waiting for app container"
|
||||
|
||||
Reference in New Issue
Block a user