Compare commits

...

7 Commits

Author SHA1 Message Date
68ff2b64da chore: publish 6.2.0+v1.113.0 release 2024-08-26 18:27:52 +01:00
ef6e35ba3a chore: publish 6.1.4+v1.112.0 release 2024-08-26 18:26:37 +01:00
8c4d88b20c chore: publish 6.1.3+v1.111.1 release 2024-08-26 18:25:45 +01:00
6bd2f0b779 chore: publish 6.1.2+v1.111.0 release 2024-08-26 18:22:58 +01:00
e2bec9e4b4 README: create user 2024-08-13 11:47:11 +02:00
da95b5c70d chore: publish 6.1.1+v1.110.0 release 2024-07-26 14:09:19 +02:00
f13856b14c add web_client_location 2024-07-26 14:09:12 +02:00
8 changed files with 27 additions and 7 deletions

View File

@ -167,3 +167,6 @@ RETENTION_MAX_LIFETIME=4w
#COMPOSE_FILE="$COMPOSE_FILE:compose.shared_secret_auth.yml"
#SHARED_SECRET_AUTH_ENABLED=1
#SECRET_SHARED_SECRET_AUTH_VERSION=v1 # length=128
## Web Client (Redirect)
#WEB_CLIENT_LOCATION=https://element-web.example.com

View File

@ -24,6 +24,10 @@
## Tips & Tricks
### Create User
`register_new_matrix_user -u <username> -k $(cat /var/run/secrets/registration) -p <password>`
### Set Admin User
`abra app cmd YOURAPPDOMAIN db set_admin <adminuser>`

View File

@ -1,11 +1,11 @@
export DISCORD_BRIDGE_YAML_VERSION=v2
export ENTRYPOINT_CONF_VERSION=v2
export HOMESERVER_YAML_VERSION=v28
export HOMESERVER_YAML_VERSION=v29
export LOG_CONFIG_VERSION=v2
export SHARED_SECRET_AUTH_VERSION=v1
export SIGNAL_BRIDGE_YAML_VERSION=v4
export TELEGRAM_BRIDGE_YAML_VERSION=v6
export NGINX_CONFIG_VERSION=v6
export NGINX_CONFIG_VERSION=v7
export WK_SERVER_VERSION=v1
export WK_CLIENT_VERSION=v1

View File

@ -17,7 +17,7 @@ services:
- signald-data:/signald
signalbridge:
image: dock.mau.dev/mautrix/signal:v0.4.3
image: dock.mau.dev/mautrix/signal:v0.7.0
depends_on:
- signaldb
configs:

View File

@ -10,7 +10,7 @@ services:
- telegram-data:/telegram-data
telegrambridge:
image: dock.mau.dev/mautrix/telegram:v0.15.1
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.27.0
image: nginx:1.27.1
networks:
- proxy
- internal
@ -35,7 +35,7 @@ services:
retries: 20
app:
image: "matrixdotorg/synapse:v1.110.0"
image: "matrixdotorg/synapse:v1.113.0"
volumes:
- "data:/data"
secrets:
@ -75,6 +75,7 @@ services:
- LOGIN_LIMIT_IP_BURST=${LOGIN_LIMIT_IP_BURST:-5}
- LOGIN_LIMIT_ACCOUNT_PER_SECOND=${LOGIN_LIMIT_ACCOUNT_PER_SECOND:-0.003}
- LOGIN_LIMIT_ACCOUNT_BURST=${LOGIN_LIMIT_ACCOUNT_BURST:-5}
- WEB_CLIENT_LOCATION
networks:
- internal
entrypoint: /docker-entrypoint.sh
@ -90,7 +91,7 @@ services:
restart_policy:
condition: on-failure
labels:
- "coop-cloud.${STACK_NAME}.version=6.1.0+v1.110.0"
- "coop-cloud.${STACK_NAME}.version=6.2.0+v1.113.0"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8008/health"]

View File

@ -276,3 +276,6 @@ rc_login:
account:
per_second: {{ env "LOGIN_LIMIT_ACCOUNT_PER_SECOND" }}
burst_count: {{ env "LOGIN_LIMIT_ACCOUNT_BURST" }}
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#web_client_location
web_client_location: {{ env "WEB_CLIENT_LOCATION" }}

View File

@ -13,6 +13,15 @@ http {
server_name {{ env "DOMAIN" }};
location = / {
proxy_pass http://{{ env "STACK_NAME"}}_app:8008;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host;
client_max_body_size 50M;
proxy_http_version 1.1;
}
location ~* ^(\/_matrix|\/_synapse\/client) {
proxy_pass http://{{ env "STACK_NAME"}}_app:8008;
proxy_set_header X-Forwarded-For $remote_addr;