1
0
mirror of https://github.com/ArcticFoxes-net/Signal-TLS-Proxy synced 2024-09-19 16:14:44 -04:00

Fix capabilities

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-09-25 16:10:31 -04:00 committed by GitHub
parent a8e7911514
commit 12f1e22e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,8 @@ services:
cap_add: cap_add:
- CAP_NET_BIND_SERVICE - CAP_NET_BIND_SERVICE
- CHOWN - CHOWN
- SETUID
- SETGID
nginx-relay: nginx-relay:
build: ./nginx-relay/ build: ./nginx-relay/
restart: unless-stopped restart: unless-stopped
@ -28,6 +30,9 @@ services:
- no-new-privileges:true - no-new-privileges:true
cap_drop: cap_drop:
- ALL - ALL
cap_add:
- SETUID
- SETGID
certbot: certbot:
image: certbot/certbot image: certbot/certbot
restart: unless-stopped restart: unless-stopped
@ -39,5 +44,3 @@ services:
- no-new-privileges:true - no-new-privileges:true
cap_drop: cap_drop:
- ALL - ALL
cap_add:
- CAP_NET_BIND_SERVICE