Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c94186132c | ||
|
|
a1771ce371 | ||
|
|
d975b81bc3 |
+3
-1
@@ -105,7 +105,7 @@ ENABLE_REGISTRATION=false
|
|||||||
SERVE_SERVER_WELLKNOWN=false
|
SERVE_SERVER_WELLKNOWN=false
|
||||||
|
|
||||||
# Serve /.well-known/matrix/{server,client} on SERVER_NAME via Traefik.
|
# Serve /.well-known/matrix/{server,client} on SERVER_NAME via Traefik.
|
||||||
# Can be used when SERVER_NAME is other than DOMAIN and SERVER_NAME is served by Traefik.
|
# Can be used when SERVER_NAME != DOMAIN and SERVER_NAME is served by Traefik.
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.wellknown.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.wellknown.yml"
|
||||||
|
|
||||||
ALLOW_PUBLIC_ROOMS_FEDERATION=false
|
ALLOW_PUBLIC_ROOMS_FEDERATION=false
|
||||||
@@ -149,6 +149,7 @@ ENCRYPTED_BY_DEFAULT=all
|
|||||||
#SESSION_LIFETIME=60d
|
#SESSION_LIFETIME=60d
|
||||||
#TRACK_PUPPETED_USER_IPS=true
|
#TRACK_PUPPETED_USER_IPS=true
|
||||||
|
|
||||||
|
|
||||||
## Room complexity limit (prevents joining large remote rooms that cause DB bloat)
|
## Room complexity limit (prevents joining large remote rooms that cause DB bloat)
|
||||||
## complexity ≈ state_events / 500. Default 100.0 blocks rooms with >50000 state events.
|
## complexity ≈ state_events / 500. Default 100.0 blocks rooms with >50000 state events.
|
||||||
#ROOM_COMPLEXITY_LIMIT=100.0
|
#ROOM_COMPLEXITY_LIMIT=100.0
|
||||||
@@ -247,6 +248,7 @@ RETENTION_MAX_LIFETIME=4w
|
|||||||
## Web Client (Redirect)
|
## Web Client (Redirect)
|
||||||
#WEB_CLIENT_LOCATION=https://element-web.example.com
|
#WEB_CLIENT_LOCATION=https://element-web.example.com
|
||||||
|
|
||||||
|
|
||||||
## State compression (reduces database bloat from federation)
|
## State compression (reduces database bloat from federation)
|
||||||
## Runs synapse_auto_compressor daily, built from source on first start
|
## Runs synapse_auto_compressor daily, built from source on first start
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.compress-state.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.compress-state.yml"
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
|
|
||||||
discorddb:
|
discorddb:
|
||||||
image: postgres:16-alpine
|
image: postgres:13-alpine
|
||||||
secrets:
|
secrets:
|
||||||
- discord_db_password
|
- discord_db_password
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
+3
-3
@@ -128,9 +128,9 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
- db_password
|
- db_password
|
||||||
environment:
|
environment:
|
||||||
# postgres:18 relocated default PGDATA to /var/lib/postgresql/18/docker.
|
# postgres:18 relocated the default PGDATA to /var/lib/postgresql/18/docker.
|
||||||
# Pin to legacy path so pgautoupgrade finds the existing cluster and
|
# Pin it to the legacy path so pgautoupgrade finds the existing cluster on the
|
||||||
# upgrades in place instead of init-ing an empty one.
|
# mounted volume and upgrades it in place, instead of init'ing an empty one.
|
||||||
- PGDATA=/var/lib/postgresql/data
|
- PGDATA=/var/lib/postgresql/data
|
||||||
- LC_COLLATE=C
|
- LC_COLLATE=C
|
||||||
- LC_CTYPE=C
|
- LC_CTYPE=C
|
||||||
|
|||||||
Reference in New Issue
Block a user