mirror of https://gitlab.com/famedly/conduit
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.1 KiB
YAML
54 lines
2.1 KiB
YAML
4 years ago
|
# Conduit
|
||
|
version: '3'
|
||
|
|
||
|
services:
|
||
4 years ago
|
homeserver:
|
||
3 years ago
|
### If you already built the Conduit image with 'docker build' or want to use a registry image,
|
||
4 years ago
|
### then you are ready to go.
|
||
3 years ago
|
image: matrixconduit/matrix-conduit:latest
|
||
4 years ago
|
### If you want to build a fresh image from the sources, then comment the image line and uncomment the
|
||
|
### build lines. If you want meaningful labels in your built Conduit image, you should run docker-compose like this:
|
||
4 years ago
|
### CREATED=$(date -u +'%Y-%m-%dT%H:%M:%SZ') VERSION=$(grep -m1 -o '[0-9].[0-9].[0-9]' Cargo.toml) docker-compose up -d
|
||
3 years ago
|
# build:
|
||
|
# context: .
|
||
|
# args:
|
||
|
# CREATED: '2021-03-16T08:18:27Z'
|
||
|
# VERSION: '0.1.0'
|
||
|
# LOCAL: 'false'
|
||
|
# GIT_REF: origin/master
|
||
4 years ago
|
restart: unless-stopped
|
||
|
ports:
|
||
3 years ago
|
- 8448:6167
|
||
4 years ago
|
volumes:
|
||
3 years ago
|
- db:/var/lib/matrix-conduit/
|
||
4 years ago
|
environment:
|
||
3 years ago
|
CONDUIT_SERVER_NAME: your.server.name # EDIT THIS
|
||
|
CONDUIT_DATABASE_PATH: /var/lib/matrix-conduit/
|
||
|
CONDUIT_DATABASE_BACKEND: rocksdb
|
||
|
CONDUIT_PORT: 6167
|
||
|
CONDUIT_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
|
||
3 years ago
|
CONDUIT_ALLOW_REGISTRATION: 'true'
|
||
3 years ago
|
CONDUIT_ALLOW_FEDERATION: 'true'
|
||
1 year ago
|
CONDUIT_ALLOW_CHECK_FOR_UPDATES: 'true'
|
||
3 years ago
|
CONDUIT_TRUSTED_SERVERS: '["matrix.org"]'
|
||
|
#CONDUIT_MAX_CONCURRENT_REQUESTS: 100
|
||
|
CONDUIT_ADDRESS: 0.0.0.0
|
||
|
CONDUIT_CONFIG: '' # Ignore this
|
||
|
#
|
||
4 years ago
|
### Uncomment if you want to use your own Element-Web App.
|
||
|
### Note: You need to provide a config.json for Element and you also need a second
|
||
|
### Domain or Subdomain for the communication between Element and Conduit
|
||
|
### Config-Docs: https://github.com/vector-im/element-web/blob/develop/docs/config.md
|
||
|
# element-web:
|
||
3 years ago
|
# image: vectorim/element-web:latest
|
||
4 years ago
|
# restart: unless-stopped
|
||
|
# ports:
|
||
|
# - 8009:80
|
||
|
# volumes:
|
||
|
# - ./element_config.json:/app/config.json
|
||
|
# depends_on:
|
||
|
# - homeserver
|
||
|
|
||
4 years ago
|
volumes:
|
||
3 years ago
|
db:
|