app-store/apps/matrix-conduit/docker-compose.yml
Nicolas Meienberger 49e9316685
local domain configs M-O (#689)
* feat(jackett): change config to support local domain

* feat(matrix-conduit): change config to support local domain

* feat(mealie): change config to support local domain

* feat(memos): change config to support local domain

* feat(mind): change config to support local domain

* feat(minecraft-server): change config to support local domain

* feat(mixpost): change config to support local domain

* feat(mixpost-pro): change config to support local domain

* feat(moneroblock): change config to support local domain

* feat(monerod): change config to support local domain

* feat(monica): change config to support local domain

* feat(movary): change config to support local domain

* feat(mstream): change config to support local domain

* feat(mylar3): change config to support local domain

* feat(n8n): change config to support local domain

* feat(navidrome): change config to support local domain

* feat(nitter): change config to support local domain

* feat(nocodb): change config to support local domain

* feat(nodered): change config to support local domain

* feat(onedev): change config to support local domain

* feat(openbooks): change config to support local domain

* feat(overseerr): change config to support local domain

* feat(owncloud): change config to support local domain
2023-06-12 21:58:59 +02:00

85 lines
4.2 KiB
YAML

version: "3.7"
services:
matrix-conduit:
container_name: matrix-conduit
image: matrixconduit/matrix-conduit:v0.5.0
environment:
CONDUIT_SERVER_NAME: ${APP_DOMAIN}
CONDUIT_DATABASE_PATH: /var/lib/matrix-conduit/
CONDUIT_DATABASE_BACKEND: rocksdb
CONDUIT_PORT: 6167
CONDUIT_MAX_REQUEST_SIZE: ${MAX_REQUEST_SIZE:-20000000}
CONDUIT_ALLOW_REGISTRATION: ${ALLOW_REGISTRATION:-false}
CONDUIT_ALLOW_FEDERATION: ${ALLOW_FEDERATION:-false}
CONDUIT_TRUSTED_SERVERS: ${TRUSTED_SERVERS:-[]}
CONDUIT_LOG: ${LOG:-warn,rocket=off,_=off,sled=off}
CONDUIT_ADDRESS: 0.0.0.0
CONDUIT_CONFIG: "" # Ignore this
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data:/var/lib/matrix-conduit/
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.matrix-conduit-web-redirect.redirectscheme.scheme: https
traefik.http.services.matrix-conduit.loadbalancer.server.port: 6167
# Web
traefik.http.routers.matrix-conduit-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.matrix-conduit-insecure.entrypoints: web
traefik.http.routers.matrix-conduit-insecure.service: matrix-conduit
traefik.http.routers.matrix-conduit-insecure.middlewares: matrix-conduit-web-redirect
# Websecure
traefik.http.routers.matrix-conduit.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.matrix-conduit.entrypoints: websecure
traefik.http.routers.matrix-conduit.service: matrix-conduit
traefik.http.routers.matrix-conduit.tls.certresolver: myresolver
# Local domain
traefik.http.routers.matrix-conduit-local-insecure.rule: Host(`matrix-conduit.${LOCAL_DOMAIN}`)
traefik.http.routers.matrix-conduit-local-insecure.entrypoints: web
traefik.http.routers.matrix-conduit-local-insecure.service: matrix-conduit
traefik.http.routers.matrix-conduit-local-insecure.middlewares: matrix-conduit-web-redirect
# Local domain secure
traefik.http.routers.matrix-conduit-local.rule: Host(`matrix-conduit.${LOCAL_DOMAIN}`)
traefik.http.routers.matrix-conduit-local.entrypoints: websecure
traefik.http.routers.matrix-conduit-local.service: matrix-conduit
traefik.http.routers.matrix-conduit-local.tls: true
matrix-conduit-well-known:
container_name: matrix-conduit-well-known
build:
context: nginx
dockerfile: Dockerfile
environment:
APP_DOMAIN: ${APP_DOMAIN}
restart: unless-stopped
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.matrix-well-knows-web-redirect.redirectscheme.scheme: https
traefik.http.services.matrix-well-knows.loadbalancer.server.port: 80
# Web
traefik.http.routers.matrix-well-knows-insecure.rule: Host(`${APP_DOMAIN}`) && PathPrefix(`/.well-known/matrix`)
traefik.http.routers.matrix-well-knows-insecure.entrypoints: web
traefik.http.routers.matrix-well-knows-insecure.service: matrix-well-knows
traefik.http.routers.matrix-well-knows-insecure.middlewares: matrix-well-knows-web-redirect
# Websecure
traefik.http.routers.matrix-well-knows.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.matrix-well-knows.entrypoints: websecure
traefik.http.routers.matrix-well-knows.service: matrix-well-knows
traefik.http.routers.matrix-well-knows.tls.certresolver: myresolver
# Local domain
traefik.http.routers.matrix-well-knows-local-insecure.rule: Host(`matrix-well-knows.${LOCAL_DOMAIN}`)
traefik.http.routers.matrix-well-knows-local-insecure.entrypoints: web
traefik.http.routers.matrix-well-knows-local-insecure.service: matrix-well-knows
traefik.http.routers.matrix-well-knows-local-insecure.middlewares: matrix-well-knows-web-redirect
# Local domain secure
traefik.http.routers.matrix-well-knows-local.rule: Host(`matrix-well-knows.${LOCAL_DOMAIN}`) && PathPrefix(`/.well-known/matrix`)
traefik.http.routers.matrix-well-knows-local.entrypoints: websecure
traefik.http.routers.matrix-well-knows-local.service: matrix-well-knows
traefik.http.routers.matrix-well-knows-local.tls: true