hatch-surf/docker-compose.yml
Chris Anderson 17eee790c4 Initial commit: hatch.surf web application with Docker deployment
- Next.js 16 app with React 19 and Tailwind CSS 4
- Multi-stage Dockerfile (node:20-alpine build → nginx:alpine runtime)
- docker-compose.yml for container orchestration
- nginx.conf for container-level configuration
- GitHub Actions CI/CD workflow for automated deployment
- .dockerignore and .gitignore configured

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-24 09:55:30 +02:00

22 lines
437 B
YAML

version: '3.8'
services:
hatch-web:
build:
context: .
dockerfile: Dockerfile
container_name: hatch-web
restart: unless-stopped
networks:
- hatch-network
# No ports exposed to host - nginx reverse proxies to container
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:80/"]
interval: 30s
timeout: 3s
retries: 3
networks:
hatch-network:
driver: bridge