Files
webnews/docker-compose.prod.yml
2025-12-27 12:24:02 -06:00

22 lines
454 B
YAML

# Add your own reverse proxy
services:
web-news:
build: .
container_name: web-news-prod
volumes:
- data:/app/data
environment:
- PORT=8080
- NODE_ENV=production
- AUTH_MODE=multi
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS:-*}
- AUTH_FILE=/app/data/accounts.json
- HASHES_FILE=/app/data/client_hashes.json
security_opt:
- no-new-privileges:true
restart: unless-stopped
volumes:
data: