Improve and fix caddy configs

This commit is contained in:
Tobias Reisinger 2023-03-13 23:30:36 +01:00
parent a03b11e28c
commit 843dadf285
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 16 additions and 12 deletions

View file

@ -1,3 +1,3 @@
ACME_CODER_USER= ACMEDNS_CODER_USER=
ACME_CODER_PASS= ACMEDNS_CODER_PASS=
ACME_CODER_SUBD= ACMEDNS_CODER_SUBD=

View 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
}

View file

@ -4,8 +4,3 @@ prometheus.serguzim.me {
reverse_proxy host.docker.internal:9090 reverse_proxy host.docker.internal:9090
} }
prometheus.internal.serguzim.net:80 {
import default
reverse_proxy host.docker.internal:9090
}

View file

@ -1,4 +1,4 @@
recipies.serguzim.me { recipes.serguzim.me {
import default import default
reverse_proxy tandoor:80 reverse_proxy tandoor:80
} }

View file

@ -21,9 +21,9 @@
(acmedns) { (acmedns) {
tls { tls {
dns acmedns { dns acmedns {
username {args.0} username "{args.0}"
password {args.1} password "{args.1}"
subdomain {args.2} subdomain "{args.2}"
server_url https://acme.serguzim.me server_url https://acme.serguzim.me
} }
} }

View file

@ -18,6 +18,7 @@ services:
volumes: volumes:
- ./config:/etc/caddy/ - ./config:/etc/caddy/
- data:/data - data:/data
- /run/tailscale/tailscaled.sock:/run/tailscale/tailscaled.sock
extra_hosts: extra_hosts:
- host.docker.internal:host-gateway - host.docker.internal:host-gateway
networks: networks: