-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
58 lines (54 loc) · 1.16 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3"
services:
dotnet:
image: mcr.microsoft.com/dotnet/sdk:5.0-focal
ports:
- "5000:5000"
- "5001:5001"
working_dir: /app
volumes:
- ./server-dotnet:/app
- ./protos:/app/Protos:ro
command:
- "dotnet"
- "watch"
- "run"
amphp-proxy:
image: envoyproxy/envoy:v1.17-latest
ports:
- "9901:9901"
- "9000:9000"
volumes:
- ./server-amphp/envoy.yaml:/etc/envoy/envoy.yaml:ro
- ./server-amphp/certs:/etc/certs:ro
command:
- "/usr/local/bin/envoy"
- "--bootstrap-version"
- "2"
- "-c"
- "/etc/envoy/envoy.yaml"
amphp:
build: ./server-amphp
ports:
- "1338:1338"
volumes:
- ./server-amphp:/var/www
client:
image: node:14.15.1-slim
ports:
- "8080:8080"
environment:
- CHOKIDAR_USEPOLLING=true
working_dir: /app
volumes:
- ./client-grpc-web-text:/app:cached
command:
- "npm"
- "run"
- "serve"
protoc:
image: namely/protoc-all
volumes:
- ./protos:/defs
- ./client-grpc-web-text/src/pb-web:/out/grpc-web-text
- ./server-amphp/lib:/out/grpc-php