| 123456789101112131415161718192021222324252627282930 |
- # =============================================================================
- # Jenado Unlimited Website - Docker Compose
- # Orchestrates the production container locally for testing.
- # =============================================================================
- services:
- web:
- build:
- context: .
- dockerfile: Dockerfile
- image: jenado-unlimited:latest
- container_name: jenado-unlimited
- ports:
- - "3000:3000"
- environment:
- - NODE_ENV=production
- - PORT=3000
- # Pass runtime secrets via a .env file or environment variables.
- # Never bake secrets into the image.
- # Example: RESEND_API_KEY=${RESEND_API_KEY}
- env_file:
- - path: .env
- required: false
- restart: unless-stopped
- healthcheck:
- test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/health"]
- interval: 30s
- timeout: 5s
- start_period: 15s
- retries: 3
|