Merge dev to main: Security improvements and comprehensive test infrastructure #39
@@ -66,11 +66,13 @@ jobs:
|
||||
# Clean up any legacy manual containers
|
||||
docker rm -f nas-dashboard-dev 2>/dev/null || true
|
||||
|
||||
# Ensure network exists
|
||||
docker network create nas-dashboard_internal 2>/dev/null || true
|
||||
# Ensure network exists (create only if it doesn't exist)
|
||||
if ! docker network inspect nas-dashboard_internal >/dev/null 2>&1; then
|
||||
docker network create nas-dashboard_internal
|
||||
fi
|
||||
|
||||
# Use a dedicated project name to avoid killing production (which is project 'nas-dashboard')
|
||||
# and deploy using theSynced compose file.
|
||||
# and deploy using the synced compose file.
|
||||
docker compose -f docker-compose.dev.yml -p nas-dashboard-dev down --remove-orphans || true
|
||||
docker compose -f docker-compose.dev.yml -p nas-dashboard-dev up -d --build --pull never
|
||||
|
||||
|
||||
Reference in New Issue
Block a user