Compare commits

..

2 Commits

Author SHA1 Message Date
7703bbbce7 Bump config versions 2025-10-03 11:20:39 -07:00
e3df032bda Expose max_upload_size as a configurable option 2025-10-02 11:40:51 -07:00
7 changed files with 11 additions and 20 deletions

View File

@ -39,9 +39,7 @@ PASSWORD_LOGIN_ENABLED=true
## Room auto-join
#AUTO_JOIN_ROOM_ENABLED=1
#AUTO_JOIN_ROOM is deprecated, but kept for backward compatibility. Please use only one, and prefer AUTO_JOIN_ROOM_LIST.
#AUTO_JOIN_ROOM="#example:example.com"
#AUTO_JOIN_ROOM_LIST="[\"#room1:example.com\",\"#room2:example.com\"]"
## Logging

View File

@ -1,11 +1,11 @@
export DISCORD_BRIDGE_YAML_VERSION=v2
export ENTRYPOINT_CONF_VERSION=v3
export HOMESERVER_YAML_VERSION=v34
export HOMESERVER_YAML_VERSION=v33
export LOG_CONFIG_VERSION=v2
export SHARED_SECRET_AUTH_VERSION=v2
export SIGNAL_BRIDGE_YAML_VERSION=v6
export TELEGRAM_BRIDGE_YAML_VERSION=v6
export NGINX_CONFIG_VERSION=v11
export NGINX_CONFIG_VERSION=v10
export WK_SERVER_VERSION=v1
export WK_CLIENT_VERSION=v1
export PG_BACKUP_VERSION=v1

View File

@ -10,7 +10,7 @@ services:
- signal-data:/signal-data
signalbridge:
image: dock.mau.dev/mautrix/signal:v0.8.7
image: dock.mau.dev/mautrix/signal:v0.8.4
depends_on:
- signaldb
configs:

View File

@ -10,7 +10,7 @@ services:
- telegram-data:/telegram-data
telegrambridge:
image: dock.mau.dev/mautrix/telegram:v0.15.3
image: dock.mau.dev/mautrix/telegram:v0.15.2
depends_on:
- telegramdb
configs:

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
web:
image: nginx:1.29.2
image: nginx:1.29.0
networks:
- proxy
- internal
@ -36,7 +36,7 @@ services:
retries: 20
app:
image: "matrixdotorg/synapse:v1.139.2"
image: "matrixdotorg/synapse:v1.133.0"
volumes:
- "data:/data"
secrets:
@ -48,7 +48,6 @@ services:
- ALLOWED_LIFETIME_MAX
- ALLOW_PUBLIC_ROOMS_FEDERATION
- AUTO_JOIN_ROOM
- AUTO_JOIN_ROOM_LIST
- AUTO_JOIN_ROOM_ENABLED
- DISABLE_FEDERATION
- DOMAIN
@ -91,6 +90,7 @@ services:
- LOGIN_LIMIT_ACCOUNT_PER_SECOND=${LOGIN_LIMIT_ACCOUNT_PER_SECOND:-0.003}
- LOGIN_LIMIT_ACCOUNT_BURST=${LOGIN_LIMIT_ACCOUNT_BURST:-5}
- WEB_CLIENT_LOCATION
- MAX_UPLOAD_SIZE
networks:
- internal
entrypoint: /docker-entrypoint.sh
@ -106,8 +106,8 @@ services:
restart_policy:
condition: on-failure
labels:
- "coop-cloud.${STACK_NAME}.version=6.8.0+v1.139.2"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
- "coop-cloud.${STACK_NAME}.version=6.7.1+v1.133.0"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8008/health"]
interval: 30s

View File

@ -130,7 +130,7 @@ log_config: "/data/log.config"
media_store_path: "/data/media_store"
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#max_upload_size
max_upload_size: 50M
max_upload_size: {{ or (env "MAX_UPLOAD_SIZE") 50M }}
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#turn
{{ if eq (env "TURN_ENABLED") "1" }}
@ -157,15 +157,8 @@ registration_shared_secret: {{ secret "registration" }}
{{ if eq (env "AUTO_JOIN_ROOM_ENABLED") "1" }}
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#auto_join_rooms
# AUTO_JOIN_ROOM only for backwards compatibility
{{ if (env "AUTO_JOIN_ROOM") }}
auto_join_rooms:
- "{{ env "AUTO_JOIN_ROOM" }}"
{{ else }}
auto_join_rooms: {{ env "AUTO_JOIN_ROOM_LIST" }}
{{ end }}
{{ end }}
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#session_lifetime

View File

@ -28,7 +28,7 @@ http {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host;
client_max_body_size {{ or (env "MAX_UPLOAD_SIZE") "50M" }};
client_max_body_size {{ or (env "MAX_UPLOAD_SIZE") "50M" }}
proxy_http_version 1.1;
}