-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.multi.yml
More file actions
50 lines (46 loc) · 916 Bytes
/
docker-compose.multi.yml
File metadata and controls
50 lines (46 loc) · 916 Bytes
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
services:
tor-1:
image: mstfknn/tor-proxy:debian
restart: unless-stopped
volumes:
- tor-data-1:/var/lib/tor
deploy:
resources:
limits:
memory: 256M
cpus: '0.5'
tor-2:
image: mstfknn/tor-proxy:debian
restart: unless-stopped
volumes:
- tor-data-2:/var/lib/tor
deploy:
resources:
limits:
memory: 256M
cpus: '0.5'
tor-3:
image: mstfknn/tor-proxy:debian
restart: unless-stopped
volumes:
- tor-data-3:/var/lib/tor
deploy:
resources:
limits:
memory: 256M
cpus: '0.5'
haproxy:
image: haproxy:alpine
restart: unless-stopped
ports:
- "9150:9150"
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
depends_on:
- tor-1
- tor-2
- tor-3
volumes:
tor-data-1:
tor-data-2:
tor-data-3: