Добавлен файл
This commit is contained in:
1 parent
57d5672ba1
commit
4ab72fb5b5
1 file changed
+38
@@ -0,0 +1,38 @@
|
|||||||
|
services:
|
||||||
|
searxng:
|
||||||
|
image: searxng/searxng:latest
|
||||||
|
container_name: searxng
|
||||||
|
environment:
|
||||||
|
- SEARXNG_BASE_URL=http://192.168.31.100:5080/
|
||||||
|
- SEARXNG_SECRET=${SEARXNG_SECRET}
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 5080:8080
|
||||||
|
volumes:
|
||||||
|
- /mnt/ssd/apps/searxng:/etc/searxng:rw
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
cap_add:
|
||||||
|
- CHOWN
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
||||||
|
- DAC_OVERRIDE
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: 1m
|
||||||
|
max-file: "1"
|
||||||
|
redis:
|
||||||
|
image: redis:alpine
|
||||||
|
container_name: searxng-redis
|
||||||
|
command: redis-server --save "" --appendonly "no"
|
||||||
|
restart: unless-stopped
|
||||||
|
tmpfs:
|
||||||
|
- /var/lib/redis
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
cap_add:
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
||||||
|
- DAC_OVERRIDE
|
||||||
|
networks: {}
|
||||||
Reference in new issue
Block a user