- 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>
22 lines
437 B
YAML
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
|