fix: deploy.sh auto-selects compose file, docker-compose.yml uses correct Stripe var names
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 1m16s
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 1m16s
This commit is contained in:
@@ -52,7 +52,12 @@ cd "$SCRIPT_DIR"
|
||||
COMPOSE_LOCAL="docker-compose.local.yml"
|
||||
COMPOSE_PROD="docker-compose.yml"
|
||||
ENV_FILE=".env.docker"
|
||||
COMPOSE_FILE="$COMPOSE_LOCAL"
|
||||
# Default to production compose if local compose doesn't exist (server context)
|
||||
if [ -f "$COMPOSE_LOCAL" ] && [ -f ".env.docker" ]; then
|
||||
COMPOSE_FILE="$COMPOSE_LOCAL"
|
||||
else
|
||||
COMPOSE_FILE="$COMPOSE_PROD"
|
||||
fi
|
||||
COMMAND=""
|
||||
SERVICE=""
|
||||
NO_BUILD=false
|
||||
|
||||
Reference in New Issue
Block a user