fix(traefik): Add env_file to read Cloudflare token

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-03 16:53:33 -05:00
parent 5bf2fc5319
commit 093f6d9a62

View File

@@ -40,11 +40,8 @@ services:
- django
volumes:
- production_traefik:/etc/traefik/acme
environment:
# Cloudflare API token for DNS challenge (wildcard certs)
# Create at: https://dash.cloudflare.com/profile/api-tokens
# Permissions needed: Zone:DNS:Edit for smoothschedule.com
- CF_DNS_API_TOKEN=${CF_DNS_API_TOKEN}
env_file:
- ./.envs/.production/.django
ports:
- '0.0.0.0:80:80'
- '0.0.0.0:443:443'