Add integration manager

This commit is contained in:
deathrow 2022-11-03 14:24:01 -04:00
parent 2d57863434
commit eb1a105806
No known key found for this signature in database
GPG Key ID: FF39D67A22069F73
6 changed files with 43 additions and 4 deletions

View File

@ -2,5 +2,5 @@ POSTGRES_USER=user
POSTGRES_PASSWORD=password POSTGRES_PASSWORD=password
POSTGRES_DB=db POSTGRES_DB=db
SWAG_URL=example.tld SWAG_URL=example.tld
SWAG_SUBDOMAINS=matrix SWAG_SUBDOMAINS=matrix, dimension, adminer, maubot
SWAG_EMAIL=email@example.tld SWAG_EMAIL=email@example.tld

View File

@ -13,11 +13,14 @@ A Synapse Docker deployment with:
- Images built locally - Images built locally
- Matrix Maubot - Matrix Maubot
- Postgres web UI - Postgres web UI
- Matrix integration manager
### Getting Started ### Getting Started
Dependencies: `cargo docker docker-compose git python ` Dependencies: `cargo docker docker-compose git python `
Subdomains: `matrix` `dimension` `adminer` `maubot`
Clone the repository: Clone the repository:
``` ```
git clone https://codeberg.org/deathrow/synapse-docker-deployement git clone https://codeberg.org/deathrow/synapse-docker-deployement

View File

@ -103,7 +103,6 @@ services:
- no-new-privileges:true - no-new-privileges:true
cap_drop: cap_drop:
- ALL - ALL
maubot: maubot:
image: dock.mau.dev/maubot/maubot:latest image: dock.mau.dev/maubot/maubot:latest
container_name: maubot container_name: maubot
@ -143,6 +142,24 @@ services:
networks: networks:
- matrix - matrix
dimension:
build: ./images/matrix-dimension
container_name: dimension
restart: always
volumes:
- ./dimension:/data:Z
depends_on:
- synapse
networks:
- matrix
ports:
- 127.0.0.1:8184:8184
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
# WORKERS # WORKERS
sync3: sync3:

View File

@ -4,4 +4,5 @@ docker build ./synapse-captcha/
docker build ./mjolnir/ docker build ./mjolnir/
docker build ./pantalaimon/ docker build ./pantalaimon/
docker build ./synapse-docker/ docker build ./synapse-docker/
docker build ./synapse-worker-docker/ docker build ./synapse-worker-docker/
docker build ./matrix-dimension/

View File

@ -3,10 +3,11 @@
echo "===== Cloning Docker Images =====" echo "===== Cloning Docker Images ====="
cd images/ cd images/
git clone https://github.com/matrix-org/mjolnir git clone https://github.com/matrix-org/mjolnir
git clone https://github.com/matrix-org/pantalaimon/ git clone https://github.com/matrix-org/pantalaimon
git clone https://codeberg.org/deathrow/synapse-worker-docker git clone https://codeberg.org/deathrow/synapse-worker-docker
git clone https://codeberg.org/deathrow/synapse-docker git clone https://codeberg.org/deathrow/synapse-docker
git clone https://codeberg.org/deathrow/synapse-captcha git clone https://codeberg.org/deathrow/synapse-captcha
git clone https://github.com/turt2live/matrix-dimension
echo "===== Building Docker Images =====" echo "===== Building Docker Images ====="
bash build.sh bash build.sh

View File

@ -0,0 +1,17 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name dimension.*;
include /config/nginx/ssl.conf;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app dimension;
set $upstream_port 8184;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}