Add console + marketing site to Docker Compose and build-push

- Console: nginx SPA on port 3010, image reg.dd0c.net/dd0c-console
- Marketing: nginx static on port 3011, image reg.dd0c.net/dd0c-marketing
- Dockerfiles + .dockerignore for both
- build-push.sh updated to include console + marketing targets
This commit is contained in:
2026-03-03 00:36:48 +00:00
parent 5792f95d7c
commit 5a1e287ab6
5 changed files with 39 additions and 2 deletions

View File

@@ -23,6 +23,8 @@ declare -A CONTEXTS=(
["dd0c-portal"]="04-lightweight-idp"
["dd0c-cost"]="05-aws-cost-anomaly"
["dd0c-run"]="06-runbook-automation/saas"
["dd0c-console"]="console"
["dd0c-marketing"]="marketing/site"
)
# If args provided, filter to those services
@@ -34,12 +36,12 @@ if [ $# -gt 0 ]; then
TARGETS+=("$key")
else
echo -e "${RED}Unknown service: $arg${NC}" >&2
echo "Available: drift alert portal cost run" >&2
echo "Available: drift alert portal cost run console marketing" >&2
exit 1
fi
done
else
TARGETS=("dd0c-drift" "dd0c-alert" "dd0c-portal" "dd0c-cost" "dd0c-run")
TARGETS=("dd0c-drift" "dd0c-alert" "dd0c-portal" "dd0c-cost" "dd0c-run" "dd0c-console" "dd0c-marketing")
fi
# Login to registry