update ddns-updater to exclude api key in config / added dozzle logging
This commit is contained in:
parent
b40fe970b7
commit
04b9edf637
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -11,3 +11,10 @@
|
|||
!**/compose.yml
|
||||
!**/Caddyfile
|
||||
!**/.env.example
|
||||
!**/Dockerfile
|
||||
|
||||
|
||||
#DDNS updater
|
||||
|
||||
!**/data/config.json
|
||||
|
||||
|
|
2
ddns-updater/.env.example
Normal file
2
ddns-updater/.env.example
Normal file
|
@ -0,0 +1,2 @@
|
|||
PORKBUN_API_KEY=
|
||||
PORKBUN_API_SECRET_KEY=
|
|
@ -1,9 +1,14 @@
|
|||
services:
|
||||
ddns-updater:
|
||||
container_name: ddns-updater
|
||||
user: "1001:1001"
|
||||
ports:
|
||||
- 55555:8000/tcp
|
||||
volumes:
|
||||
- /opt/stacks/ddns-updater/data:/updater/data
|
||||
image: qmcgaw/ddns-updater
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
networks: {}
|
||||
|
|
21
ddns-updater/data/config.json
Executable file
21
ddns-updater/data/config.json
Executable file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"settings": [
|
||||
{
|
||||
"provider": "porkbun",
|
||||
"domain": "mixel.cloud",
|
||||
"host": "ddns",
|
||||
"api_key": "${PORKBUN_API_KEY}",
|
||||
"secret_api_key": "${PORKBUN_API_SECRET_KEY}",
|
||||
"ip_version": "ipv4"
|
||||
},
|
||||
{
|
||||
"provider": "porkbun",
|
||||
"domain": "mixel.cloud",
|
||||
"host": "pdf2",
|
||||
"api_key": "${PORKBUN_API_KEY}",
|
||||
"secret_api_key": "${PORKBUN_API_SECRET_KEY}",
|
||||
"ip_version": "ipv4"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue