-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
48 lines (44 loc) · 1.07 KB
/
compose.yml
File metadata and controls
48 lines (44 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
services:
queryly:
build:
context: .
restart: unless-stopped
depends_on:
- searxng
- redis
env_file:
- .env
environment:
- SEARXNG_API=http://searxng:8080
- REDIS_URL=redis://redis:6379/0
ports:
- "4321:4321"
searxng:
image: searxng/searxng:latest
restart: unless-stopped
volumes:
- ./configs/searxng/settings.yml:/etc/searxng/settings.yml:ro
env_file:
- .env
environment:
- UWSGI_WORKERS=2
- SEARXNG_SECRET=${SECRET}
labels:
- com.centurylinklabs.watchtower.scope=third_party
redis:
image: redis:8-alpine
restart: unless-stopped
volumes:
- redis-data:/data
environment:
- VALKEY_EXTRA_FLAGS=--save 60 1 --loglevel warning
labels:
- com.centurylinklabs.watchtower.scope=third_party
watchtower:
image: ghcr.io/containrrr/watchtower
restart: unless-stopped
command: --cleanup --scope third_party --interval 900 --include-restarting
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
redis-data: