feat: extract landing to separate service with Docker + status badge
- 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
This commit is contained in:
25
docker/docker-compose.landing.yml
Normal file
25
docker/docker-compose.landing.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
Reference in New Issue
Block a user