-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (53 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
55 lines (53 loc) · 1.35 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
49
50
51
52
53
54
55
---
services:
adguardhome:
image: adguard/adguardhome:v0.107.74
container_name: dnslow.me-adguardhome
restart: unless-stopped
healthcheck:
test: nslookup www.google.com 127.0.0.1 || exit 1
timeout: 5s
interval: 60s
start_period: 10s
retries: 1
ports:
- "127.0.0.1:3000:3000/tcp"
- "127.0.0.1:53:53/tcp"
- "127.0.0.1:53:53/udp"
- "853:853/tcp"
- "853:853/udp"
volumes:
- ./adguardhome/work:/opt/adguardhome/work
- ./adguardhome/conf:/opt/adguardhome/conf
depends_on:
- blocky
blocky:
image: spx01/blocky:v0.29.0
container_name: dnslow.me-blocky
restart: unless-stopped
depends_on:
redis:
condition: service_healthy
healthcheck:
test: ["CMD", "/app/blocky", "healthcheck"]
timeout: 5s
interval: 60s
start_period: 10s
retries: 1
volumes:
- ./blocky-dns-proxy-config.yml:/app/config.yml
redis:
image: redis:8.6-alpine
container_name: dnslow.me-redis
restart: unless-stopped
command: ["redis-server", "--appendonly", "yes", "--maxmemory", "128mb", "--maxmemory-policy", "volatile-lfu"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
timeout: 3s
interval: 5s
start_period: 10s
retries: 3
volumes:
- redis-data:/data
volumes:
redis-data: