mirror of
https://github.com/StepanovPlaton/HomeServerServices.git
synced 2026-04-03 20:30:44 +04:00
Refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user