Add DC9 HAProxy TLS front door

This commit is contained in:
Codex
2026-09-02 22:54:05 -07:00
parent 7ea4515b27
commit 787a1128c1
8 changed files with 142 additions and 72 deletions
+44
View File
@@ -0,0 +1,44 @@
services:
haproxy:
image: haproxy:3.4.4-alpine3.24
container_name: dc9-haproxy
restart: unless-stopped
ports:
- "${HAPROXY_PUBLIC_PORT:-8444}:8443/tcp"
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- decoy-caddy
networks:
- default
- arcane
volumes:
- ./haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
logging:
driver: json-file
options:
max-size: 200k
max-file: "2"
decoy-caddy:
image: caddy:2.11.4
container_name: dc9-decoy-caddy
restart: unless-stopped
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
- caddy-config:/config
logging:
driver: json-file
options:
max-size: 200k
max-file: "2"
networks:
arcane:
external: true
name: arcane_default
volumes:
caddy-data:
caddy-config: