properly got pi traefik/authelia working, need to migrate nuc to that setup.
switch pihole to technitium dns server
This commit is contained in:
1
nuc/cloudflare-dns/.gitignore
vendored
Normal file
1
nuc/cloudflare-dns/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
config.json
|
25
nuc/cloudflare-dns/config.json.example
Normal file
25
nuc/cloudflare-dns/config.json.example
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"cloudflare": [
|
||||
{
|
||||
"authentication": {
|
||||
"api_token": "api_token_here", // Either api_token or api_key
|
||||
"api_key": {
|
||||
"api_key": "api_key_here",
|
||||
"account_email": "email@address.com"
|
||||
}
|
||||
},
|
||||
"zone_id": "XXXXX",
|
||||
"zone_friendly": "domain.tld",
|
||||
"subdomains": [
|
||||
{
|
||||
"name": "home",
|
||||
"proxied": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"a": true,
|
||||
"aaaa": true,
|
||||
"purgeUnknownRecords": false,
|
||||
"ttl": 300
|
||||
}
|
14
nuc/cloudflare-dns/docker-compose.yml
Normal file
14
nuc/cloudflare-dns/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
cloudflare-ddns:
|
||||
image: timothyjmiller/cloudflare-ddns:latest
|
||||
container_name: cloudflare-ddns
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
network_mode: 'host'
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
volumes:
|
||||
- ./config.json:/config.json
|
||||
restart: unless-stopped
|
Reference in New Issue
Block a user