added variables
This commit is contained in:
@@ -2,6 +2,7 @@ services:
|
|||||||
cloudflare-ddns:
|
cloudflare-ddns:
|
||||||
image: favonia/cloudflare-ddns:latest
|
image: favonia/cloudflare-ddns:latest
|
||||||
container_name: cloudflare-ddns
|
container_name: cloudflare-ddns
|
||||||
|
env_file: .env
|
||||||
# Choose the appropriate tag based on your need:
|
# Choose the appropriate tag based on your need:
|
||||||
# - "latest" for the latest stable version (which could become 2.x.y
|
# - "latest" for the latest stable version (which could become 2.x.y
|
||||||
# in the future and break things)
|
# in the future and break things)
|
||||||
@@ -21,9 +22,9 @@ services:
|
|||||||
security_opt: [no-new-privileges:true]
|
security_opt: [no-new-privileges:true]
|
||||||
# Another protection to restrict superuser privileges (optional but recommended)
|
# Another protection to restrict superuser privileges (optional but recommended)
|
||||||
environment:
|
environment:
|
||||||
- CLOUDFLARE_API_TOKEN=YOUR-CLOUDFLARE-API-TOKEN
|
- CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
|
||||||
# Your Cloudflare API token
|
# Your Cloudflare API token
|
||||||
- DOMAINS=example.org,www.example.org,example.io
|
- DOMAINS=${DOMAINS}
|
||||||
# Your domains (separated by commas)
|
# Your domains (separated by commas)
|
||||||
- PROXIED=true
|
- PROXIED=true
|
||||||
# Tell Cloudflare to cache webpages and hide your IP (optional)
|
# Tell Cloudflare to cache webpages and hide your IP (optional)
|
||||||
|
|||||||
Reference in New Issue
Block a user