diff --git a/deployment/scripts/deploy.sh b/deployment/scripts/deploy.sh index 20222f83..92f85651 100755 --- a/deployment/scripts/deploy.sh +++ b/deployment/scripts/deploy.sh @@ -119,7 +119,9 @@ docker compose $COMPOSE_FILES pull || print_warning "Failed to pull some images, # Deploy stack print_info "Deploying application stack..." -docker compose $COMPOSE_FILES up -d +# --force-recreate: Recreate containers even if unchanged +# --remove-orphans: Remove containers for services not in compose file +docker compose $COMPOSE_FILES up -d --force-recreate --remove-orphans # Wait for services to be healthy print_info "Waiting for services to be healthy..."