edit ddns-updater config
This commit is contained in:
parent
69f658ebbe
commit
bbf63c197d
5 changed files with 19 additions and 22 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -20,9 +20,7 @@
|
||||||
!**/services/*.caddy
|
!**/services/*.caddy
|
||||||
|
|
||||||
#DDNS updater
|
#DDNS updater
|
||||||
|
!**/data/config.json.backup
|
||||||
!**/data/config.json
|
|
||||||
|
|
||||||
|
|
||||||
# Homeassistant
|
# Homeassistant
|
||||||
!**/homeassistant/config/configuration.yaml
|
!**/homeassistant/config/configuration.yaml
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
# External
|
# External
|
||||||
|
ha.mixel.cloud {
|
||||||
|
reverse_proxy 192.168.178.230:8123
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Internal
|
# Internal
|
||||||
ha.mini1.docker.local {
|
ha.mini1.docker.local {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
services:
|
services:
|
||||||
ddns-updater:
|
ddns-updater:
|
||||||
container_name: ddns-updater
|
container_name: ddns-updater
|
||||||
|
user: 1001:1001
|
||||||
ports:
|
ports:
|
||||||
- 55555:8000/tcp
|
- 55555:8000/tcp
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
"settings": [
|
|
||||||
{
|
|
||||||
"provider": "porkbun",
|
|
||||||
"domain": "ddns.mixel.cloud",
|
|
||||||
"api_key": "${PORKBUN_API_KEY}",
|
|
||||||
"secret_api_key": "${PORKBUN_API_SECRET_KEY}",
|
|
||||||
"ip_version": "ipv4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"provider": "porkbun",
|
|
||||||
"domain": "pdf2.mixel.cloud",
|
|
||||||
"api_key": "${PORKBUN_API_KEY}",
|
|
||||||
"secret_api_key": "${PORKBUN_API_SECRET_KEY}",
|
|
||||||
"ip_version": "ipv4"
|
|
||||||
}
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
|
13
ddns-updater/data/config.json.backup
Normal file
13
ddns-updater/data/config.json.backup
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"settings": [
|
||||||
|
{
|
||||||
|
"provider": "porkbun",
|
||||||
|
"domain": "*.mixel.cloud",
|
||||||
|
"api_key": "${PORKBUN_API_KEY}",
|
||||||
|
"secret_api_key": "${PORKBUN_API_SECRET_KEY}",
|
||||||
|
"ip_version": "ipv4"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
# ENV variables have to be changed to plaintext again since JSON doesnt support env variables
|
Loading…
Add table
Reference in a new issue