diff --git a/docker-compose.yml b/docker-compose.yml index 0951f4d..4b31ad7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,6 +26,7 @@ services: - postgres networks: - matrix + - postgres security_opt: - no-new-privileges:true cap_drop: @@ -43,7 +44,7 @@ services: volumes: - ./schemas:/var/lib/postgresql/data:Z networks: - - matrix + - postgres #user: "70:70" #read_only: true #security_opt: @@ -61,7 +62,7 @@ services: volumes: - ./element/config.json:/app/config.json:Z networks: - - matrix + - element read_only: true security_opt: - no-new-privileges:true @@ -97,6 +98,8 @@ services: - 80:80 networks: - matrix + - element + - mjolnir pantalaimon: image: matrixdotorg/pantalaimon:latest @@ -107,7 +110,7 @@ services: depends_on: - synapse networks: - - matrix + - pantalaimon read_only: true security_opt: - no-new-privileges:true @@ -123,7 +126,8 @@ services: depends_on: - pantalaimon networks: - - matrix + - pantalaimon + - mjolnir read_only: true security_opt: - no-new-privileges:true @@ -132,3 +136,7 @@ services: networks: matrix: + postgres: + element: + pantalaimon: + mjolnir: