app-store/apps/matrix-conduit/docker-compose.yml

51 lines
1.8 KiB
YAML
Raw Normal View History

2023-05-08 13:17:31 +00:00
version: "3.7"
services:
2023-05-09 07:19:37 +00:00
matrix-conduit:
container_name: matrix-conduit
2023-05-08 13:17:31 +00:00
image: matrixconduit/matrix-conduit:v0.5.0
ports:
- ${APP_PORT}:6167
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:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.matrix.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.matrix.entrypoints: websecure
traefik.http.routers.matrix.service: matrix
traefik.http.routers.matrix.tls.certresolver: myresolver
traefik.http.services.matrix.loadbalancer.server.port: 6167
2023-05-09 07:19:37 +00:00
matrix-conduit-well-known:
container_name: matrix-conduit-well-known
2023-05-08 13:17:31 +00:00
build:
context: nginx
dockerfile: Dockerfile
environment:
APP_DOMAIN: ${APP_DOMAIN}
restart: unless-stopped
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.matrix-well-knows.rule: Host(`${APP_DOMAIN}`) && PathPrefix(`/.well-known/matrix`)
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
traefik.http.services.matrix-well-knows.loadbalancer.server.port: 80