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

This commit is contained in:
Frank John Begornia
2025-12-21 04:48:09 +08:00
parent ee557c6fd2
commit cc882ea6fc

View File

@@ -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"