summaryrefslogtreecommitdiff
path: root/docker
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
parentc66866d89092cde7c9aa834e442de1a13a1a680c (diff)
downloadconduit-de6c3312ceca9d0f9c0d2041c16a46d6b538b2a6.zip
docs: make all configs match
Diffstat (limited to 'docker')
-rw-r--r--docker/README.md2
-rw-r--r--docker/docker-compose.traefik.yml31
2 files changed, 13 insertions, 20 deletions
diff --git a/docker/README.md b/docker/README.md
index d886738..14758fd 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -112,4 +112,4 @@ So...step by step:
```
6. Run `docker-compose up -d`
-7. Connect to your homeserver with your preferred client and create a user. You should do this immediatly after starting Conduit, because the first created user is the admin.
+7. Connect to your homeserver with your preferred client and create a user. You should do this immediately after starting Conduit, because the first created user is the admin.
diff --git a/docker/docker-compose.traefik.yml b/docker/docker-compose.traefik.yml
index f625080..ca560b8 100644
--- a/docker/docker-compose.traefik.yml
+++ b/docker/docker-compose.traefik.yml
@@ -18,28 +18,22 @@ services:
# GIT_REF: origin/master
restart: unless-stopped
volumes:
- - db:/srv/conduit/.local/share/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
+ - db:/var/lib/matrix-conduit/
networks:
- proxy
environment:
- CONDUIT_SERVER_NAME: localhost:6167 # replace with your own name
+ 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'
+ CONDUIT_ALLOW_FEDERATION: 'true'
CONDUIT_TRUSTED_SERVERS: '["matrix.org"]'
- 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_MAX_CONCURRENT_REQUESTS: 100
+ #CONDUIT_LOG: info,rocket=off,_=off,sled=off
+ CONDUIT_ADDRESS: 0.0.0.0
+ CONDUIT_CONFIG: '' # Ignore this
# We need some way to server the client and server .well-known json. The simplest way is to use a nginx container
# to serve those two as static files. If you want to use a different way, delete or comment the below service, here
@@ -50,7 +44,6 @@ services:
volumes:
- ./nginx/matrix.conf:/etc/nginx/conf.d/matrix.conf # the config to serve the .well-known/matrix files
- ./nginx/www:/var/www/ # location of the client and server .well-known-files
-
### 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