Add my homelab setup, converted to docker compose files

This commit is contained in:
2024-05-28 16:55:33 -03:00
commit eecd123c53
17 changed files with 314 additions and 0 deletions

View File

@ -0,0 +1,49 @@
version: "3.7"
services:
redis:
container_name: redis
image: cgr.dev/chainguard/valkey:latest
command: --save 30 1 --loglevel warning
restart: unless-stopped
volumes:
- valkey-data:/data
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
searxng:
container_name: searxng
image: docker.io/searxng/searxng:latest
restart: unless-stopped
ports:
- 8383:8080
volumes:
- /docker/appdata/searxng/config:/etc/searxng:rw
environment:
- SEARXNG_BASE_URL=https://searx.shoebottom.ca/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
searxng:
volumes:
valkey-data: