Refactoring

This commit is contained in:
2026-01-15 00:14:56 +04:00
parent 9eeb0fb1f2
commit 09bd0766b0
27 changed files with 370 additions and 47 deletions

View File

@@ -9,6 +9,13 @@ services:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
depends_on:
- matrix-db
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
reservations:
memory: 256M
networks:
- matrix_network
@@ -23,6 +30,13 @@ services:
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
volumes:
- ./db:/var/lib/postgresql/data
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
reservations:
memory: 256M
networks:
- matrix_network
@@ -30,9 +44,17 @@ services:
image: vectorim/element-web:latest
container_name: matrix-element
restart: unless-stopped
deploy:
resources:
limits:
cpus: '1.0'
memory: 256M
reservations:
memory: 128M
networks:
- matrix_network
networks:
matrix_network:
name: matrix_network
driver: bridge