Files
broadcast-box/docker-compose.yaml
Sid Sethupathi b12ff7e720 Remove ports from caddy docker-compose
The caddy container specifies "host" networking so the ports aren't necessary. 
Older versions of docker/docker-compose may have just ignored the the ports when
 using "host" networking, but I was unable to get the containers to start using docker-compose 
1.29.2 / docker 20.10.24+dfsg1, build 297e128 as it threw an error around having 
specified ports AND "host" networking.
2025-07-25 22:41:06 -04:00

33 lines
723 B
YAML

version: "3"
services:
broadcast-box:
environment:
- INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP=yes
image: seaduboi/broadcast-box:latest
hostname: broadcast-box
container_name: broadcast-box
network_mode: "host"
privileged: true
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine
environment:
- CADDY_INGRESS_NETWORKS=caddy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy_data:/data
network_mode: "host"
labels:
caddy: ${URL}
caddy.reverse_proxy: "localhost:8080"
watchtower:
restart: always
image: containrrr/watchtower:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
caddy_data: {}