mirror of
https://github.com/ArcticFoxes-net/Synapse-Docker-Compose.git
synced 2024-10-01 08:25:44 -04:00
Run Postgres unprivileged
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
aa0705dd6c
commit
e270358b1c
@ -44,6 +44,14 @@ services:
|
||||
- ./schemas:/var/lib/postgresql/data: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
|
||||
|
||||
element:
|
||||
image: vectorim/element-web:latest
|
||||
|
Loading…
Reference in New Issue
Block a user