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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user