-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (45 loc) · 955 Bytes
/
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
45
46
47
48
49
version: '3'
services:
grpc-server:
build:
context: ./
dockerfile: ./docker/grpc_server/Dockerfile
deploy:
replicas: 1
image: npuichigo/grpc-server
volumes:
- ./testdata:/grpc_with_envoy/testdata:ro
networks:
- overlay
ports:
- "9090:9090"
envoy:
build:
context: ./
dockerfile: ./docker/envoy/Dockerfile
image: npuichigo/envoy
command: ["/usr/local/bin/envoy", "-c", "/etc/envoy/envoy.yaml", "-l", "debug"]
volumes:
- ./config/envoy.yaml:/etc/envoy/envoy.yaml:ro
networks:
- overlay
links:
- grpc-server
ports:
- "8080:8080"
- "9901:9901"
nginx:
build:
context: ./
dockerfile: ./docker/nginx/Dockerfile
image: npuichigo/nginx
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf:ro
networks:
- overlay
links:
- envoy
ports:
- "80:80"
networks:
overlay: