-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
102 lines (95 loc) · 1.77 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
102 lines (95 loc) · 1.77 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: "3.7"
services:
chute:
container_name: chute
image: golang:1.13.1-stretch
environment:
- GO111MODULE=on
volumes:
- .:/go/src/github.com/inf-rno/chute
- $GOPATH/pkg/mod:/go/pkg/mod
working_dir: /go/src/github.com/inf-rno/chute
entrypoint: go run cmd/chute/main.go
networks:
envoymesh:
aliases:
- chute
expose:
- "18000"
- "18001"
- "8888"
ports:
- "8888:8888"
- "18000:18000"
- "18001:18001"
ingress-envoy:
build:
context: .
dockerfile: Dockerfile-ingress
volumes:
- ./ingress-envoy.yaml:/etc/ingress-envoy.yaml
- ./logs:/logs
networks:
envoymesh:
aliases:
- ingress-envoy
expose:
- "6379"
- "8001"
ports:
- "6381:6379"
- "8003:8001"
app1-envoy:
build:
context: .
dockerfile: Dockerfile-egress
volumes:
- ./app1-envoy.yaml:/etc/egress-envoy.yaml
networks:
- envoymesh
expose:
- "6379"
- "8001"
ports:
- "6379:6379"
- "8001:8001"
app2-envoy:
build:
context: .
dockerfile: Dockerfile-egress
volumes:
- ./app2-envoy.yaml:/etc/egress-envoy.yaml
networks:
- envoymesh
expose:
- "6379"
- "8001"
ports:
- "6380:6379"
- "8002:8001"
redis1:
build:
context: .
dockerfile: Dockerfile-redis
networks:
envoymesh:
aliases:
- redis1
expose:
- "6379"
ports:
- "6382:6379"
redis2:
build:
context: .
dockerfile: Dockerfile-redis
networks:
envoymesh:
aliases:
- redis2
expose:
- "6379"
ports:
- "6383:6379"
networks:
envoymesh: {}