This commit is contained in:
2025-11-26 03:16:46 +00:00
parent 488978ed79
commit 1411bf7483

View File

@@ -0,0 +1,63 @@
services:
redis:
image: docker.io/valkey/valkey:8-alpine
command: valkey-server --save 30 1 --loglevel warning
restart: unless-stopped
networks:
- net
volumes:
- valkey-data2:/data
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
deploy:
replicas: 1
restart_policy:
condition: any
delay: 5s
max_attempts: 3
placement:
constraints:
- node.role == manager
searxng:
image: docker.io/searxng/searxng:latest
restart: unless-stopped
networks:
- net
- badge-net
expose:
- 8080
volumes:
- /home/trav/apps/searxng:/etc/searxng:rw
- searxng-data:/var/cache/searxng:rw
environment:
- SEARXNG_BASE_URL=https://search.sidepiece.rip/
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
deploy:
replicas: 1
restart_policy:
condition: any
delay: 5s
max_attempts: 3
placement:
constraints:
- node.role == manager
networks:
net:
driver: overlay
external: true
attachable: true
badge-net:
external: true
volumes:
valkey-data2:
searxng-data: