Update docker-compose.yml

add security flags
This commit is contained in:
LRVT 2023-11-08 22:51:33 +01:00 committed by GitHub
parent a77f527889
commit 2caef5b1e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,11 @@ services:
#image: l4rm4nd/send:latest # image of a fork with darkmode only #image: l4rm4nd/send:latest # image of a fork with darkmode only
container_name: send-app container_name: send-app
restart: unless-stopped restart: unless-stopped
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
ports: ports:
- 1234:1234 - 1234:1234
expose: expose: