Move old synapse to archive/

This commit is contained in:
Nico Schottelius 2023-11-30 10:10:01 +01:00
commit e33bf37444
7 changed files with 3 additions and 0 deletions

View file

@ -1,5 +0,0 @@
SYNAPSE_VERSION=v1.92.3
NGINX_VERSION=1.25.2-alpine
SYNAPSE_SERVER_NAME=corp-serv.net
NGINX_SYNAPSE_FQDN=synapse.corp-apps.com

View file

@ -1,33 +0,0 @@
version: 1
formatters:
fmt:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s- %(message)s'
filters:
context:
(): synapse.logging.context.LoggingContextFilter
request: ""
handlers:
console:
class: logging.StreamHandler
formatter: fmt
filters: [context]
root:
level: INFO
handlers: [console] # to use file handler instead, switch to [file]
loggers:
synapse:
level: INFO
synapse.storage.SQL:
level: INFO
ldap3:
level: INFO
ldap_auth_provider:
level: INFO

View file

@ -1,24 +0,0 @@
version: '3'
services:
synapse:
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
ports:
- "8008:8008/tcp"
volumes:
- /mnt/synapse_data:/data
- ./config:/config
ports:
- "8008:8008/tcp"
command:
- run
- --config-path=/config/homeserver.yaml
# - --config-path=/config/generic_worker.yaml
restart: always
nginx:
image: nginx:${NGINX_VERSION}
ports:
- "80:80/tcp"
- "443:443/tcp"
volumes:
- ./nginx:/etc/nginx/conf.d
- /ssl:/ssl

View file

@ -1,33 +0,0 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /ssl/chain.crt;
ssl_certificate_key /ssl/certificate.keyplain;
client_max_body_size 25m;
error_page 403 404 /403_404.html;
location = /403_404.html {
default_type application/json;
return 200 'You are not authorized to access this page.';
}
location / {
root /www;
}
location ~ /_matrix|/_synapse {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_connect_timeout 600s;
proxy_send_timeout 600s;
proxy_read_timeout 600s;
send_timeout 600s;
proxy_pass http://synapse:8008;
}
}

View file

@ -1 +0,0 @@
Test for Synapse