From a23bfdb3f0e79c4c4d5151d5520d6bc5dc0fa54d Mon Sep 17 00:00:00 2001 From: Matthias Ahouansou Date: Sun, 28 Apr 2024 11:48:42 +0100 Subject: [PATCH] docs(docker): don't use underscores for max request size --- docs/deploying/docker-compose.for-traefik.yml | 2 +- docs/deploying/docker-compose.with-traefik.yml | 2 +- docs/deploying/docker-compose.yml | 2 +- docs/deploying/docker.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/deploying/docker-compose.for-traefik.yml b/docs/deploying/docker-compose.for-traefik.yml index c7dd2d49..0f3ceddb 100644 --- a/docs/deploying/docker-compose.for-traefik.yml +++ b/docs/deploying/docker-compose.for-traefik.yml @@ -26,7 +26,7 @@ services: 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_MAX_REQUEST_SIZE: 20000000 # in bytes, ~20 MB CONDUIT_ALLOW_REGISTRATION: 'true' #CONDUIT_REGISTRATION_TOKEN: '' # require password for registration CONDUIT_ALLOW_FEDERATION: 'true' diff --git a/docs/deploying/docker-compose.with-traefik.yml b/docs/deploying/docker-compose.with-traefik.yml index 486a4a7a..2bb5aff2 100644 --- a/docs/deploying/docker-compose.with-traefik.yml +++ b/docs/deploying/docker-compose.with-traefik.yml @@ -38,7 +38,7 @@ services: # CONDUIT_ALLOW_FEDERATION: 'true' # CONDUIT_ALLOW_CHECK_FOR_UPDATES: 'true' # CONDUIT_DATABASE_PATH: /srv/conduit/.local/share/conduit - # CONDUIT_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB + # CONDUIT_MAX_REQUEST_SIZE: 20000000 # in bytes, ~20 MB # 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 diff --git a/docs/deploying/docker-compose.yml b/docs/deploying/docker-compose.yml index f378133a..7dcdefff 100644 --- a/docs/deploying/docker-compose.yml +++ b/docs/deploying/docker-compose.yml @@ -26,7 +26,7 @@ services: 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_MAX_REQUEST_SIZE: 20000000 # in bytes, ~20 MB CONDUIT_ALLOW_REGISTRATION: 'true' CONDUIT_ALLOW_FEDERATION: 'true' CONDUIT_ALLOW_CHECK_FOR_UPDATES: 'true' diff --git a/docs/deploying/docker.md b/docs/deploying/docker.md index f550c4b7..a45c6704 100644 --- a/docs/deploying/docker.md +++ b/docs/deploying/docker.md @@ -61,7 +61,7 @@ docker run -d -p 8448:6167 \ -e CONDUIT_DATABASE_BACKEND="rocksdb" \ -e CONDUIT_ALLOW_REGISTRATION=true \ -e CONDUIT_ALLOW_FEDERATION=true \ - -e CONDUIT_MAX_REQUEST_SIZE="20_000_000" \ + -e CONDUIT_MAX_REQUEST_SIZE="20000000" \ -e CONDUIT_TRUSTED_SERVERS="[\"matrix.org\"]" \ -e CONDUIT_MAX_CONCURRENT_REQUESTS="100" \ --name conduit