diff --git a/README.md b/README.md index e68c6c2..c16188b 100644 --- a/README.md +++ b/README.md @@ -17,5 +17,6 @@ Matrix Synapse Docker-Compose 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 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 -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. \ No newline at end of file +7. Uncomment the security options for postgres. Run `docker-compose up -d` again. +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. \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 306de51..39e66e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,16 +42,17 @@ services: - POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C volumes: - ./schemas:/var/lib/postgresql/data:Z + - ./dumps:dumps:Z networks: - matrix - user: "70:70" - read_only: true - security_opt: - - no-new-privileges:true - cap_drop: - - ALL - tmpfs: - - /var/run/postgresql:size=50M,mode=0770,uid=70,gid=70,noexec,nosuid,nodev + #user: "70:70" + #read_only: true + #security_opt: + # - no-new-privileges:true + #cap_drop: + # - ALL + #tmpfs: + # - /var/run/postgresql:size=50M,mode=0770,uid=70,gid=70,noexec,nosuid,nodev element: image: vectorim/element-web:latest