43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
---
|
|
services:
|
|
signal:
|
|
image: fledgre/flsignal:latest
|
|
networks:
|
|
- proxy
|
|
command: -v
|
|
volumes:
|
|
- stats:/stats
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8765"
|
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
|
- "coop-cloud.${STACK_NAME}.version="
|
|
|
|
coturn:
|
|
image: coturn/coturn
|
|
network_mode: host
|
|
configs:
|
|
- source: turnserver_conf
|
|
target: /etc/coturn/turnserver.conf
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
|
|
volumes:
|
|
stats:
|
|
|
|
configs:
|
|
turnserver_conf:
|
|
name: ${STACK_NAME}_turnserver_conf_${TURNSERVER_CONF_VERSION}
|
|
file: turnserver.conf.tmpl
|
|
template_driver: golang
|