Improve and fix caddy configs
This commit is contained in:
parent
a03b11e28c
commit
843dadf285
6 changed files with 16 additions and 12 deletions
|
@ -1,3 +1,3 @@
|
|||
ACME_CODER_USER=
|
||||
ACME_CODER_PASS=
|
||||
ACME_CODER_SUBD=
|
||||
ACMEDNS_CODER_USER=
|
||||
ACMEDNS_CODER_PASS=
|
||||
ACMEDNS_CODER_SUBD=
|
||||
|
|
8
caddy/config/conf.002.d/node002.hawk-toad.ts.net.conf
Normal file
8
caddy/config/conf.002.d/node002.hawk-toad.ts.net.conf
Normal file
|
@ -0,0 +1,8 @@
|
|||
node002.hawk-toad.ts.net {
|
||||
import default
|
||||
|
||||
@prometheus {
|
||||
header X-App-Target prometheus
|
||||
}
|
||||
reverse_proxy @prometheus host.docker.internal:9090
|
||||
}
|
|
@ -4,8 +4,3 @@ prometheus.serguzim.me {
|
|||
|
||||
reverse_proxy host.docker.internal:9090
|
||||
}
|
||||
|
||||
prometheus.internal.serguzim.net:80 {
|
||||
import default
|
||||
reverse_proxy host.docker.internal:9090
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
recipies.serguzim.me {
|
||||
recipes.serguzim.me {
|
||||
import default
|
||||
reverse_proxy tandoor:80
|
||||
}
|
|
@ -21,9 +21,9 @@
|
|||
(acmedns) {
|
||||
tls {
|
||||
dns acmedns {
|
||||
username {args.0}
|
||||
password {args.1}
|
||||
subdomain {args.2}
|
||||
username "{args.0}"
|
||||
password "{args.1}"
|
||||
subdomain "{args.2}"
|
||||
server_url https://acme.serguzim.me
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,7 @@ services:
|
|||
volumes:
|
||||
- ./config:/etc/caddy/
|
||||
- data:/data
|
||||
- /run/tailscale/tailscaled.sock:/run/tailscale/tailscaled.sock
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
networks:
|
||||
|
|
Reference in a new issue