mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
cleanup repo
This commit is contained in:
4
examples/cloudflare-ddns/README.md
Normal file
4
examples/cloudflare-ddns/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# References
|
||||
|
||||
- https://github.com/favonia/cloudflare-ddns
|
||||
- https://hub.docker.com/r/oznu/cloudflare-ddns/ (deprecated)
|
||||
@@ -0,0 +1,9 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
ddns:
|
||||
image: oznu/cloudflare-ddns:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- API_KEY=MyCloudflareApiToken # change this
|
||||
- ZONE=example.com
|
||||
- SUBDOMAIN=* # either subdomain or wildcard * to update root domain
|
||||
19
examples/cloudflare-ddns/docker-compose.yml
Normal file
19
examples/cloudflare-ddns/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: "3"
|
||||
services:
|
||||
cloudflare-ddns:
|
||||
image: favonia/cloudflare-ddns:latest
|
||||
container_name: cloudflare-ddns
|
||||
#network_mode: host
|
||||
restart: always
|
||||
cap_drop:
|
||||
- all
|
||||
read_only: true
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
environment:
|
||||
- PGID=1000
|
||||
- PUID=1000
|
||||
- CF_API_TOKEN=YOUR-CLOUDFLARE-API-TOKEN # pls adjust
|
||||
- DOMAINS=example.org,www.example.org,example.io # pls adjust; a list of fully qualified domain names separated by commas
|
||||
- PROXIED=true # instructs Cloudflare to cache webpages on your machine and hide its actual IP addresses
|
||||
- TZ=Europe/Berlin
|
||||
Reference in New Issue
Block a user