- landing/ structure with src/, Dockerfile, nginx.conf - docker-compose.landing.yml on port 8080:80 - status.js with build status badge (CI, commit, issues) - api/status.json fallback - Glassmorphism cyberpunk styling matching existing design
26 lines
551 B
YAML
26 lines
551 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
landing:
|
|
build:
|
|
context: ../landing
|
|
dockerfile: Dockerfile
|
|
container_name: phantom-landing
|
|
ports:
|
|
- "8080:80"
|
|
environment:
|
|
- API_STATUS_URL=${API_STATUS_URL:-http://host.docker.internal:3000/api/status}
|
|
restart: unless-stopped
|
|
networks:
|
|
- landing-network
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:80/health.json"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
networks:
|
|
landing-network:
|
|
driver: bridge
|