mirror of
https://github.com/ArcticFoxes-net/Synapse-Docker-Compose.git
synced 2025-02-05 05:25:18 -05:00
Comment out postgres security options
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
f9a95fb855
commit
f6e3c19df7
@ -17,5 +17,6 @@ Matrix Synapse Docker-Compose
|
|||||||
5. Tighten the Content Security Policy in `swag/nginx/ssl.conf` to suit your needs
|
5. Tighten the Content Security Policy in `swag/nginx/ssl.conf` to suit your needs
|
||||||
5. Copy the config from https://github.com/matrix-org/pantalaimon to `./pantalaimon/pantalaimon.conf` and edit it accordingly
|
5. Copy the config from https://github.com/matrix-org/pantalaimon to `./pantalaimon/pantalaimon.conf` and edit it accordingly
|
||||||
6. Run `docker-compose up` and make sure nothing errors out. You can use `docker-compose up -d` to start it in the background if you want.
|
6. Run `docker-compose up` and make sure nothing errors out. You can use `docker-compose up -d` to start it in the background if you want.
|
||||||
7. Create a user for mjolnir
|
7. Uncomment the security options for postgres. Run `docker-compose up -d` again.
|
||||||
8. Copy the config from https://github.com/matrix-org/mjolnir/blob/main/config/default.yaml to `./mjolnir/config/production.yaml` and edit it accordingly. If you want Mjolnir to recieve reports instead of Synapse, make it listen on `0.0.0.0:8081`. You will also need to uncomment the approprieate lines in `./swag/nginx/proxy-confs/synapse.subdomain.conf` as well.
|
8. Create a user for mjolnir
|
||||||
|
9. Copy the config from https://github.com/matrix-org/mjolnir/blob/main/config/default.yaml to `./mjolnir/config/production.yaml` and edit it accordingly. If you want Mjolnir to recieve reports instead of Synapse, make it listen on `0.0.0.0:8081`. You will also need to uncomment the approprieate lines in `./swag/nginx/proxy-confs/synapse.subdomain.conf` as well.
|
@ -42,16 +42,17 @@ services:
|
|||||||
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
||||||
volumes:
|
volumes:
|
||||||
- ./schemas:/var/lib/postgresql/data:Z
|
- ./schemas:/var/lib/postgresql/data:Z
|
||||||
|
- ./dumps:dumps:Z
|
||||||
networks:
|
networks:
|
||||||
- matrix
|
- matrix
|
||||||
user: "70:70"
|
#user: "70:70"
|
||||||
read_only: true
|
#read_only: true
|
||||||
security_opt:
|
#security_opt:
|
||||||
- no-new-privileges:true
|
# - no-new-privileges:true
|
||||||
cap_drop:
|
#cap_drop:
|
||||||
- ALL
|
# - ALL
|
||||||
tmpfs:
|
#tmpfs:
|
||||||
- /var/run/postgresql:size=50M,mode=0770,uid=70,gid=70,noexec,nosuid,nodev
|
# - /var/run/postgresql:size=50M,mode=0770,uid=70,gid=70,noexec,nosuid,nodev
|
||||||
|
|
||||||
element:
|
element:
|
||||||
image: vectorim/element-web:latest
|
image: vectorim/element-web:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user