Fix docker-compose.yml permission errors (#623)

main
nakoo 2022-01-26 03:06:46 +09:00 committed by GitHub
parent ecb4277e69
commit 0b70962e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -11,15 +11,15 @@ services:
mem_limit: 256mb
memswap_limit: 256mb
# user debian-tor from tor package
user: '102'
user: whoogle
security_opt:
- no-new-privileges
cap_drop:
- ALL
tmpfs:
- /config/:size=10M,uid=102,gid=102,mode=1700
- /var/lib/tor/:size=10M,uid=102,gid=102,mode=1700
- /run/tor/:size=1M,uid=102,gid=102,mode=1700
- /config/:size=10M,uid=927,gid=927,mode=1700
- /var/lib/tor/:size=10M,uid=927,gid=927,mode=1700
- /run/tor/:size=1M,uid=927,gid=927,mode=1700
#environment: # Uncomment to configure environment variables
# Basic auth configuration, uncomment to enable
#- WHOOGLE_USER=<auth username>