Files
prayer-app/docker-compose.yml
T
nmemmert 1932dbe1fc Update docker-compose.yml for production deployment
- Use GitHub Container Registry image instead of local build
- Add EmailJS environment variables for email functionality
- Configure proper networking and health checks
2025-10-22 15:15:54 -04:00

26 lines
630 B
YAML

version: '3.8'
services:
prayer-app:
image: ghcr.io/nmemmert/prayer-app:latest
container_name: prayer-app
restart: unless-stopped
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_EMAILJS_SERVICE_ID=service_zwpcif9
- NEXT_PUBLIC_EMAILJS_TEMPLATE_ID=template_z50fk3e
- NEXT_PUBLIC_EMAILJS_PUBLIC_KEY=W6JhfYIWckVEP2nrm
networks:
- prayer-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
prayer-network:
driver: bridge