Files
tuwunel/docker-compose.yml
T
2026-07-27 12:02:32 +00:00

53 lines
1.6 KiB
YAML

services:
tuwunel:
image: ghcr.io/matrix-construct/tuwunel:latest
container_name: tuwunel
restart: unless-stopped
expose:
- "8008"
networks:
- coolify
environment:
TUWUNEL_SERVER_NAME: "mmdv-chats.dynv6.net"
TUWUNEL_DATABASE_PATH: "/var/lib/tuwunel"
TUWUNEL_PORT: "8008"
TUWUNEL_ADDRESS: "0.0.0.0"
TUWUNEL_ALLOW_REGISTRATION: "true"
TUWUNEL_REGISTRATION_TOKEN: "c17637929e7476a10e0841503e8bd6f4"
TUWUNEL_ALLOW_FEDERATION: "true"
TUWUNEL_TRUSTED_SERVERS: "[\"matrix.org\"]"
volumes:
- tuwunel-db:/var/lib/tuwunel
labels:
traefik.enable: "true"
traefik.http.routers.tuwunel-http.entrypoints: "https"
traefik.http.routers.tuwunel-http.rule: "Host(`mmdv-chats.dynv6.net`)"
traefik.http.routers.tuwunel-http.tls.certresolver: "letsencrypt"
traefik.http.routers.tuwunel-http.service: "tuwunel"
traefik.http.services.tuwunel.loadbalancer.server.port: "8008"
well-known:
image: nginx:alpine
container_name: tuwunel-wellknown
restart: unless-stopped
expose:
- "80"
networks:
- coolify
volumes:
- ./well-known:/usr/share/nginx/html/.well-known:ro
labels:
traefik.enable: "true"
traefik.http.routers.tuwunel-wk.entrypoints: "https"
traefik.http.routers.tuwunel-wk.rule: "Host(`mmdv-chats.dynv6.net`) && PathPrefix(`/.well-known`)"
traefik.http.routers.tuwunel-wk.tls.certresolver: "letsencrypt"
traefik.http.routers.tuwunel-wk.service: "tuwunel-wk"
traefik.http.services.tuwunel-wk.loadbalancer.server.port: "80"
networks:
coolify:
external: true
volumes:
tuwunel-db: