-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (44 loc) · 1.44 KB
/
docker-compose.yml
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
version: '3'
services:
consul:
image: consul
restart: unless-stopped
command: agent -server -ui -node=server-a -bootstrap-expect=1 -client=0.0.0.0
container_name: consul
ports:
- 0.0.0.0:8500:8500
- 0.0.0.0:8600:8600/udp
rng:
depends_on:
- consul
build: rng
container_name: rng
environment:
- SRVRNGPORT=${SRVRNGPORT}
hasher:
depends_on:
- consul
build: hasher
container_name: hasher
environment:
- SRVHASHERPORT=${SRVHASHERPORT}
redis:
image: redis
container_name: redis
worker:
depends_on:
- consul
build: worker
container_name: worker
environment:
- SRVRNGPORT=${SRVRNGPORT}
- SRVRNGNAME=${SRVRNGNAME}
- SRVHASHERPORT=${SRVHASHERPORT}
- SRVHASHERNAME=${SRVHASHERNAME}
webui:
depends_on:
- consul
build: webui
container_name: webui
ports:
- 8000:80