compy/compose.yml

30 lines
833 B
YAML

---
version: "3.8"
services:
app:
image: thecoopcloud/compy
networks:
- proxy
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.tcp.routers.${STACK_NAME}-tcp.entrypoints=compy"
- "traefik.tcp.routers.${STACK_NAME}-tcp.service=${STACK_NAME}-tcp-service"
- "traefik.tcp.routers.${STACK_NAME}-tcp.rule=HostSNI(`*`)"
- "traefik.tcp.routers.${STACK_NAME}-tcp.tls.passthrough=true"
- "traefik.tcp.services.${STACK_NAME}-tcp-service.loadbalancer.server.port=9999"
- "coop-cloud.${STACK_NAME}.version="
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost"]
# interval: 30s
# timeout: 10s
# retries: 10
# start_period: 1m
networks:
proxy:
external: true