Refactor searxng.yml to update volume mapping and container permissions

This commit is contained in:
2024-06-10 22:49:44 +08:00
parent f6934952cf
commit aabc4d229a
+8 -7
View File
@@ -48,13 +48,14 @@ services:
# - SEARXNG_IMAGE_PROXY=true
# - SEARXNG_DEBUG=false
volumes:
- searxng_data:/etc/searxng
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- /var/data/config/searxng:/etc/searxng
# - searxng_data:/etc/searxng
# cap_drop:
# - ALL
# cap_add:
# - CHOWN
# - SETGID
# - SETUID
logging:
driver: "json-file"
options: