-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
85 lines (77 loc) · 1.56 KB
/
docker-compose.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: "3.3"
services:
client:
image: client:latest
build:
context: .
dockerfile: ./cmd/Dockerfile
args:
- APPTYPE=client
environment:
- CONTROL_WEBSOCKET_URI=ws://control:8081
- CLIENT_ID=client
depends_on:
- websocket
websocket:
image: websocket:latest
build:
context: .
dockerfile: ./cmd/Dockerfile
args:
- APPTYPE=websocket
ports:
- "8080:8080"
environment:
- HTTP_PORT=8080
- BACKEND_GRPC_SERVER=backend:9378
control:
image: control:latest
build:
context: .
dockerfile: ./cmd/Dockerfile
args:
- APPTYPE=control
ports:
- "8081:8081"
environment:
- HTTP_PORT=8081
- BACKEND_GRPC_SERVER=backend:9378
backend:
image: backend:latest
build:
context: .
dockerfile: ./cmd/Dockerfile
args:
- APPTYPE=backend
ports:
- "9378:9378"
environment:
- BACKEND_SERVER_URI=0.0.0.0:9378
- REDIS_URI=redis:6379
proxy:
image: proxy:latest
build:
context: .
dockerfile: ./cmd/Dockerfile
args:
- APPTYPE=proxy
ports:
- "9090:9090"
environment:
- PROXY_HTTP_PORT=9090
- BACKEND_GRPC_SERVER=backend:9378
debug:
image: mendhak/http-https-echo:17
ports:
- "7070:80"
hello:
image: tutum/hello-world
ports:
- "3030:80"
redis:
image: "redis:latest"
command: redis-server
ports:
- "6379:6379"
environment:
- REDIS_REPLICATION_MODE=master