summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorTimo Kösters <timo@koesters.xyz>2022-02-12 10:29:04 +0100
committerJonas Zohren <git-pbkyr@jzohren.de>2022-02-16 15:11:46 +0100
commitde6c3312ceca9d0f9c0d2041c16a46d6b538b2a6 (patch)
treee4e91da23ed3d072c3b2fb579bffbe71fd1ee124 /docker-compose.yml
parentc66866d89092cde7c9aa834e442de1a13a1a680c (diff)
downloadconduit-de6c3312ceca9d0f9c0d2041c16a46d6b538b2a6.zip
docs: make all configs match
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml31
1 files changed, 14 insertions, 17 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 88d5c3f..5a17a8d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -20,27 +20,24 @@ services:
ports:
- 8448:6167
volumes:
- - db:/srv/conduit/.local/share/conduit
+ - db:/var/lib/matrix-conduit/
### Uncomment if you want to use conduit.toml to configure Conduit
### Note: Set env vars will override conduit.toml values
# - ./conduit.toml:/srv/conduit/conduit.toml
environment:
- CONDUIT_SERVER_NAME: localhost:6167 # replace with your own name
- CONDUIT_TRUSTED_SERVERS: '["matrix.org"]'
+ 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
CONDUIT_ALLOW_REGISTRATION: 'true'
- ### Uncomment and change values as desired
- # CONDUIT_ADDRESS: 0.0.0.0
- # CONDUIT_PORT: 6167
- # CONDUIT_CONFIG: '/srv/conduit/conduit.toml' # if you want to configure purely by env vars, set this to an empty string ''
- # Available levels are: error, warn, info, debug, trace - more info at: https://docs.rs/env_logger/*/env_logger/#enabling-logging
- # CONDUIT_LOG: info # default is: "info,_=off,sled=off"
- # CONDUIT_ALLOW_JAEGER: 'false'
- # CONDUIT_ALLOW_ENCRYPTION: 'false'
- # CONDUIT_ALLOW_FEDERATION: 'false'
- # CONDUIT_DATABASE_PATH: /srv/conduit/.local/share/conduit
- # CONDUIT_WORKERS: 10
- # CONDUIT_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
-
+ CONDUIT_ALLOW_FEDERATION: 'true'
+ CONDUIT_TRUSTED_SERVERS: '["matrix.org"]'
+ #CONDUIT_MAX_CONCURRENT_REQUESTS: 100
+ #CONDUIT_LOG: info,rocket=off,_=off,sled=off
+ CONDUIT_ADDRESS: 0.0.0.0
+ CONDUIT_CONFIG: '' # Ignore this
+ #
### 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
@@ -56,4 +53,4 @@ services:
# - homeserver
volumes:
- db:
+ db: