tuwunel compose + well-known
This commit is contained in:
commit
48c3990499
4 files changed
+64
No files matched your search
@@ -0,0 +1,52 @@
|
||||
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:
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"m.homeserver": {
|
||||
"base_url": "https://mmdv-chats.dynv6.net"
|
||||
},
|
||||
"m.identity_server": {
|
||||
"base_url": "https://mmdv-chats.dynv6.net"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"m.server": "mmdv-chats.dynv6.net"
|
||||
}
|
||||
Reference in new issue
Block a user