summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJonas Zohren <git-pbkyr@jzohren.de>2022-02-13 12:25:19 +0000
committerJonas Zohren <git-pbkyr@jzohren.de>2022-02-16 15:12:40 +0100
commit97507d28806e7a10cb4ffc9ab4cc64b902b267ef (patch)
treec366042cf34238b59d0d130ca89cb03a9954dbee /Dockerfile
parentc4353405a5c457b8301de123c646e748a07f8a22 (diff)
downloadconduit-97507d28806e7a10cb4ffc9ab4cc64b902b267ef.zip
Remove most env vars from Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile15
1 files changed, 3 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile
index 34a0766..82ee951 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -35,18 +35,9 @@ FROM docker.io/debian:bullseye-slim AS runner
# You still need to map the port when using the docker command or docker-compose.
EXPOSE 6167
-ENV CONDUIT_SERVER_NAME=your.server.name # EDIT THIS
-ENV CONDUIT_DATABASE_PATH=/var/lib/matrix-conduit
-ENV CONDUIT_DATABASE_BACKEND=rocksdb
-ENV CONDUIT_PORT=6167
-ENV CONDUIT_MAX_REQUEST_SIZE=20_000_000 # in bytes, ~20 MB
-ENV CONDUIT_ALLOW_REGISTRATION=true
-ENV CONDUIT_ALLOW_FEDERATION=true
-ENV CONDUIT_TRUSTED_SERVERS=["matrix.org"]
-#ENV CONDUIT_MAX_CONCURRENT_REQUESTS=100
-#ENV CONDUIT_LOG=info,rocket=off,_=off,sled=off
-ENV CONDUIT_ADDRESS=0.0.0.0
-ENV CONDUIT_CONFIG='' # Ignore this
+ENV CONDUIT_PORT=6167 \
+ CONDUIT_DATABASE_PATH=/var/lib/matrix-conduit \
+ CONDUIT_CONFIG='' # Set no config file to do all configuration with env vars
# Conduit needs:
# ca-certificates: for https