diff --git a/.env b/.env new file mode 100644 index 0000000..b12eaa8 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +SEARXNG_HOSTNAME=search.bbaovanc.com diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8fce603 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +data/ diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..615cae7 --- /dev/null +++ b/docker-compose.yaml @@ -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"