homelab/files/docker/broadcast/docker-stack.yaml

25 lines
566 B
YAML

networks:
outside:
name: "host"
external: true
services:
box:
image: seaduboi/broadcast-box:latest
networks:
- outside
environment:
- INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP=yes
- UDP_MUX_PORT=7050
- HTTP_ADDRESS=:7051
- NETWORK_TEST_ON_START=true
deploy:
rollback_config:
failure_action: continue
update_config:
delay: 2s
failure_action: rollback
order: start-first
placement:
constraints:
- node.labels.services_kind==${SERVICE_KIND:-common}