searxng/docker-compose.yml hinzugefügt
This commit is contained in:
26
searxng/docker-compose.yml
Normal file
26
searxng/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
services:
|
||||||
|
redis:
|
||||||
|
image: "redis:alpine"
|
||||||
|
command: redis-server --save 60 1 --loglevel warning
|
||||||
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
|
searxng:
|
||||||
|
image: searxng/searxng:latest
|
||||||
|
container_name: searxng
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "${HOST_PORT}:8080"
|
||||||
|
volumes:
|
||||||
|
- ${CONF_DIR}:/etc/searxng:rw
|
||||||
|
environment:
|
||||||
|
- SEARXNG_HOSTNAME=${HOSTNAME}
|
||||||
|
- SEARXNG_SECRET_KEY=${SECRET_KEY}
|
||||||
|
- REDIS_URL=redis://redis:6379/0
|
||||||
|
depends_on:
|
||||||
|
redis:
|
||||||
|
condition: service_healthy
|
||||||
Reference in New Issue
Block a user