Add files

This commit is contained in:
BBaoVanC 2022-05-25 15:56:02 -05:00
parent 79a6026440
commit 83d807a717
3 changed files with 37 additions and 0 deletions

1
.env Normal file
View File

@ -0,0 +1 @@
SEARXNG_HOSTNAME=search.bbaovanc.com

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
data/

35
docker-compose.yaml Normal file
View File

@ -0,0 +1,35 @@
version: '3.7'
services:
redis:
image: "redis:alpine"
command: redis-server --save "" --appendonly "no"
tmpfs:
- /var/lib/redis
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
searxng:
image: searxng/searxng:latest
ports:
- 127.0.0.1:88:8080
volumes:
- ./data/searxng:/etc/searxng:rw
environment:
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"