use host address for syncthing
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
|
||||
(apps) {
|
||||
|
||||
@backrest host backrest.catmedved.com
|
||||
handle @backrest {
|
||||
reverse_proxy http://backrest:9898
|
||||
}
|
||||
|
||||
|
||||
@beszel host beszel.catmedved.com
|
||||
handle @beszel {
|
||||
reverse_proxy http://beszel:8090
|
||||
@@ -135,7 +141,7 @@ pihole.catmedved.com {
|
||||
|
||||
# S
|
||||
sync-minipc.catmedved.com {
|
||||
reverse_proxy http://172.24.0.1:8384 {
|
||||
reverse_proxy http://host.docker.internal:8384 {
|
||||
header_up Host {upstream_hostport}
|
||||
}
|
||||
tls /etc/caddy/certs/fullchain.pem /etc/caddy/certs/privkey.pem
|
||||
|
||||
@@ -5,12 +5,14 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- caddy_internal
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- /home/vk/certs/catmedved.com:/etc/caddy/certs:ro
|
||||
- /srv/ssl/catmedved.com:/etc/caddy/certs:ro
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user