rootless searxng stdisco

This commit is contained in:
Viyurz 2023-12-05 21:05:41 +00:00
parent 3f73831980
commit c221e9fa22
2 changed files with 15 additions and 19 deletions

View file

@ -4,21 +4,24 @@ services:
image: docker.io/library/redis:alpine
restart: always
command: redis-server --save 30 1 --loglevel warning
user: '999:999'
networks:
- searxng
volumes:
- redis-data:/data
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
- redis:/data
searxng:
container_name: searxng
image: searxng/searxng:latest
restart: always
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
environment:
- SEARXNG_BASE_URL=https://searx.viyurz.fr/
networks:
- searxng
ports:
@ -26,14 +29,6 @@ services:
volumes:
- ./settings.yml:/etc/searxng/settings.yml
- ./limiter.toml:/etc/searxng/limiter.toml
environment:
- SEARXNG_BASE_URL=https://searx.viyurz.fr/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
logging:
driver: "json-file"
options:
@ -46,4 +41,4 @@ networks:
driver: default
volumes:
redis-data:
redis:

View file

@ -3,9 +3,10 @@ services:
image: syncthing/syncthing:latest
container_name: syncthing
restart: always
user: '1001:1001'
environment:
- PUID=1003
- PGID=1003
- PUID=1001
- PGID=1001
ports:
- "[::1]:8384:8384" # Web UI
- 22000:22000/tcp # TCP file transfers