forked from MarlBurroW/cloudflare-dns-swarm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (18 loc) · 767 Bytes
/
.env.example
File metadata and controls
23 lines (18 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Cloudflare credentials
CLOUDFLARE_TOKEN=your_token_here
# Docker configuration
DOCKER_SOCKET=/var/run/docker.sock
# Application settings
LOG_LEVEL=info
RETRY_ATTEMPTS=3
RETRY_DELAY=300000
IP_CHECK_INTERVAL=3600000
# DNS Configuration
USE_TRAEFIK_LABELS=true
# Default DNS settings (used for both direct DNS and Traefik labels)
DNS_DEFAULT_RECORD_TYPE=A # A, AAAA, CNAME, TXT, MX
DNS_DEFAULT_CONTENT= # Optional: specific IP or domain for CNAME
DNS_DEFAULT_PROXIED=true # Enable/disable Cloudflare proxy
DNS_DEFAULT_TTL=1 # TTL in seconds (1 = automatic)
# DOMAIN is only used for the example of the docker-compose.yml file, this value is not used in the code and should not be set in the production environment
DOMAIN=example.io