compy/compose.yml

30 lines
833 B
YAML
Raw Permalink Normal View History

2022-03-26 14:30:13 +00:00
---
version: "3.8"
services:
app:
2022-03-26 21:19:39 +00:00
image: thecoopcloud/compy
2022-03-26 14:30:13 +00:00
networks:
- proxy
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
2022-03-27 15:31:01 +00:00
- "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"
2022-03-26 21:19:39 +00:00
- "traefik.tcp.services.${STACK_NAME}-tcp-service.loadbalancer.server.port=9999"
2022-03-26 14:30:13 +00:00
- "coop-cloud.${STACK_NAME}.version="
2022-03-26 21:19:39 +00:00
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost"]
# interval: 30s
# timeout: 10s
# retries: 10
# start_period: 1m
2022-03-26 14:30:13 +00:00
networks:
proxy:
external: true