mirror of
https://git.anonymousland.org/deathrow/synapse-docker-deployment.git
synced 2024-10-01 11:49:56 -04:00
Add integration manager
This commit is contained in:
parent
2d57863434
commit
eb1a105806
@ -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
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -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/
|
3
init.sh
3
init.sh
@ -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
|
||||||
|
17
swag/nginx/site-confs/dimension.conf
Normal file
17
swag/nginx/site-confs/dimension.conf
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user