1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-11-09 04:11:33 -05:00
Synapse-Ubuntu-ZFS/srv/Matrix-Docker-Compose/docker-compose.yml
wj25czxj47bu6q 1f4a83dee2
Add syncv3 container
Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
2023-10-07 11:58:31 +00:00

128 lines
2.7 KiB
YAML

version: '3'
services:
element:
image: vectorim/element-web:latest
container_name: element
restart: unless-stopped
volumes:
- ./element/config.json:/app/config.json:Z
networks:
- element
ports:
- "127.0.0.1:81:80"
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- CAP_NET_BIND_SERVICE
tmpfs:
- /var/run:size=50M,mode=0770,noexec,nosuid,nodev
- /var/cache/nginx:size=50M,mode=0770,noexec,nosuid,nodev
matrix-to:
image: ghcr.io/tommytran732/matrix.to
container_name: matrix-to
restart: unless-stopped
networks:
- matrix-to
ports:
- "127.0.0.1:5000:5000"
user: 992:992
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
pantalaimon:
image: matrixdotorg/pantalaimon:latest
container_name: pantalaimon
restart: unless-stopped
volumes:
- ./pantalaimon:/data
networks:
- pantalaimon
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
mjolnir:
image: matrixdotorg/mjolnir:latest
container_name: mjolnir
restart: unless-stopped
volumes:
- ./mjolnir:/data
depends_on:
- pantalaimon
networks:
- pantalaimon
ports:
- "127.0.0.1:8081:8081"
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
syncv3:
image: ghcr.io/matrix-org/sliding-sync:latest
container_name: syncv3
restart: unless-stopped
env_file: ./syncv3.env
volumes:
- /var/run/postgresql:/var/run/postgresql:ro
group_add:
- "1006" # postgres-socket, https://github.com/docker/compose/issues/7277
runtime: "runsc-kvm --host-uds=open"
ports:
- "127.0.0.1:8008:8008"
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
glassrom-pantalaimon:
image: matrixdotorg/pantalaimon:latest
container_name: glassrom-pantalaimon
restart: unless-stopped
volumes:
- ./glassrom/pantalaimon:/data
networks:
- glassrom-pantalaimon
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
glassrom-mjolnir:
image: matrixdotorg/mjolnir:latest
container_name: glassrom-mjolnir
restart: unless-stopped
volumes:
- ./glassrom/mjolnir:/data
depends_on:
- glassrom-pantalaimon
networks:
- glassrom-pantalaimon
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
networks:
element:
matrix-to:
pantalaimon:
glassrom-pantalaimon: