-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.envoy.yml
98 lines (92 loc) · 1.97 KB
/
docker-compose.envoy.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
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
---
version: "3.7"
services:
front-envoy:
build: .
networks:
- envoymesh
volumes:
- ./envoy.yaml:/etc/front-envoy.yaml
logging:
driver: none
ports:
# Http Access port
- "8080:8080"
# Https Access port (not implemented)
- "8443:8443"
# Envoy admin
- "8001:8001"
auth:
image: zwiter/auth:1.0
networks:
- envoymesh
environment:
SERVICE_NAME: auth
volumes:
- ./auth/config:/config
- ./auth/bin:/zwitter-bin
- ./auth/swagger:/swagger
expose:
# Http server runs on this port with envoy
- "8000"
# gRPC server runs on this port
- "9999"
posts:
image: zwiter/posts:1.0
networks:
- envoymesh
environment:
SERVICE_NAME: posts
volumes:
- ./posts/config:/config
- ./posts/bin:/zwitter-bin
- ./posts/swagger:/swagger
expose:
# Http server runs on this port with envoy
- "8000"
# gRPC server runs on this port
- "7777"
users:
image: zwiter/users:1.0
networks:
- envoymesh
environment:
SERVICE_NAME: users
volumes:
- ./users/config:/config
- ./users/bin:/zwitter-bin
- ./users/swagger:/swagger
expose:
# Http server runs on this port
- "8000"
# gRPC server runs on this port
- "8888"
media:
image: zwiter/media:1.0
networks:
- envoymesh
environment:
SERVICE_NAME: media
volumes:
- ./media/config:/config
- ./media/bin:/zwitter-bin
- ./media/swagger:/swagger
- ./media/media-store:/media-store
expose:
# http REST server runs on this port
- "8000"
web:
image: zwiter/web:1.0
networks:
- envoymesh
environment:
SERVICE_NAME: web
volumes:
- ./web/config:/config
- ./web/bin:/zwitter-bin
- ./frontend/dist:/dist
expose:
# http REST server runs on this port
- "8000"
networks:
envoymesh: {}