deafgain-website/docker-compose.yml
TheMaddax b6f727be5d Add Docker deployment setup and subscription functionality
- Complete Docker containerization for development and production
- Add newsletter subscription API with rate limiting
- Update governance documents with video content
- Enhance email functionality and configurations
- Update memory bank documentation
2025-05-27 12:23:45 -05:00

48 lines
847 B
YAML

services:
web:
build:
context: .
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
- api
- redis
environment:
- NODE_ENV=production
restart: unless-stopped
networks:
- app_network
api:
build:
context: .
dockerfile: Dockerfile.api
depends_on:
- redis
environment:
- NODE_ENV=production
- PORT=804
- GMAIL_USER=${GMAIL_USER}
- GMAIL_PASS=${GMAIL_PASS}
- REDIS_URL=redis://redis:6379
- REDIS_TOKEN=${REDIS_TOKEN}
- API_URL=http://api:804
restart: unless-stopped
networks:
- app_network
redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- redis_data:/data
networks:
- app_network
volumes:
redis_data:
networks:
app_network:
driver: bridge