Created
November 12, 2024 15:03
-
-
Save ironicbadger/1c15006ea31945ff8ffe7fb4e2cbeef0 to your computer and use it in GitHub Desktop.
searxng docker compose yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
searxng: | |
container_name: searxng | |
image: docker.io/searxng/searxng:latest | |
restart: unless-stopped | |
ports: | |
- 8080:8080 | |
volumes: | |
- ./searxng:/etc/searxng:rw | |
environment: | |
- SEARXNG_BASE_URL=https://search.your.domain.com/ | |
cap_drop: | |
- ALL | |
cap_add: | |
- CHOWN | |
- SETGID | |
- SETUID | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "1m" | |
max-file: "1" | |
redis: | |
container_name: redis | |
image: docker.io/valkey/valkey:8-alpine | |
command: valkey-server --save 30 1 --loglevel warning | |
restart: unless-stopped | |
volumes: | |
- valkey-data2:/data | |
cap_drop: | |
- ALL | |
cap_add: | |
- SETGID | |
- SETUID | |
- DAC_OVERRIDE | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "1m" | |
max-file: "1" | |
volumes: | |
valkey-data2: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment