This commit is contained in:
2026-11-21 11:19:58 -05:00
parent 9bbd648b4c
commit b4d341389d
18 changed files with 4744 additions and 99 deletions
+29
View File
@@ -0,0 +1,29 @@
services:
caddy:
image: lucaslorentz/caddy-docker-proxy:2.9-alpine
container_name: viator-caddy
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "80:80"
- "443:443"
environment:
CADDY_INGRESS_NETWORKS: viator_proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/caddy/data:/data
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/caddy/config:/config
networks:
- proxy
labels:
caddy: bettercap.${VIATOR_DOMAIN:-viator.internal}
caddy.reverse_proxy: host.docker.internal:1600
caddy_1: api.bettercap.${VIATOR_DOMAIN:-viator.internal}
caddy_1.reverse_proxy: host.docker.internal:8081
networks:
proxy:
external: true
name: viator_proxy