-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcompose.yaml
87 lines (82 loc) · 2.46 KB
/
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
86
87
version: "3.7"
services:
envoy:
image: docker.io/envoyproxy/envoy-alpine:v1.14.2
command: /usr/local/bin/envoy -c etc/envoy/envoy-docker.yaml -l debug --service-cluster front --service-node front
volumes:
- './config/certs:/etc/certs:ro'
- './config/base/envoy/config:/etc/envoy:ro'
expose:
- '9090'
- '9443'
- '9901'
ports:
- '9090:9090'
- '9444:9443'
- '9901:9901'
envoy_http:
image: docker.io/envoyproxy/envoy-alpine:v1.14.2
command: /usr/local/bin/envoy -c etc/envoy/envoy-docker-http.yaml -l debug --service-cluster front --service-node front
volumes:
- './config/certs:/etc/certs:ro'
- './config/base/envoy/config:/etc/envoy:ro'
expose:
- '9090'
- '9443'
- '9901'
ports:
- '9090:9090'
- '9444:9443'
- '9901:9901'
envoy_secure_backend:
image: docker.io/envoyproxy/envoy-alpine:v1.14.2
command: /usr/local/bin/envoy -c etc/envoy/envoy-docker-secure-backend.yaml -l debug --service-cluster front --service-node front
volumes:
- './config/certs:/etc/certs:ro'
- './config/base/envoy/config:/etc/envoy:ro'
expose:
- '9090'
- '9443'
- '9901'
ports:
- '9090:9090'
- '9444:9443'
- '9901:9901'
envoy_secure_backend_cleint_cert:
image: docker.io/envoyproxy/envoy-alpine:v1.14.2
command: /usr/local/bin/envoy -c etc/envoy/envoy-docker-secure-backend-client-cert.yaml -l debug --service-cluster front --service-node front
volumes:
- './config/certs:/etc/certs:ro'
- './config/base/envoy/config:/etc/envoy:ro'
expose:
- '9090'
- '9443'
- '9901'
ports:
- '9090:9090'
- '9444:9443'
- '9901:9901'
espv2:
image: gcr.io/endpoints-release/endpoints-runtime:2.13.0
command:
- "--service=<SERVICE_NAME>"
- "--rollout_strategy=managed"
- "--listener_port=8089"
- "--backend=grpc://127.0.0.1:50042"
- "--service_account_key=/.google-devcredentials.json"
- "--cors_preset=basic"
# frontend host+port
- "--cors_allow_origin=http://0.0.0.0:4242"
- "--non_gcp"
- "--enable_debug"
# - "--log_jwt_payloads=aud,iss"
# - "--log_request_headers=referer"
expose:
- '8080'
ports:
- "8089:8089"
- "8080:8080"
# volumes:
# - ./.google-devcredentials.json:/.google-devcredentials.json:ro
# environment:
# - DEFAULT_BACKEND=http://127.0.0.1:8082