-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
50 lines (45 loc) · 1 KB
/
docker-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
version: "3.8"
services:
server:
image: jmalloc/echo-server
networks:
envoymesh:
aliases:
- server
expose:
- "1500"
environment:
PORT: 1500
LOG_HTTP_BODY: "true"
front-envoy:
build:
context: .
dockerfile: Dockerfile-envoy
volumes:
# - ./config/basic_bootstrap.yaml:/etc/envoy.yaml
# - ./config/static_secret_bootstrap.yaml:/etc/envoy.yaml
# - ./config/validation_context_sds_secret_bootstrap.yaml:/etc/envoy.yaml
# - ./config/sds_secret_bootstrap.yaml:/etc/envoy.yaml
- ./config/lua_with_metadata.yaml:/etc/envoy.yaml
- ./certs:/etc/certs
- ./config:/etc/envoy
networks:
- envoymesh
expose:
- "80"
- "8001"
ports:
- "8000:80"
- "8001:8001"
# server:
# build:
# context: .
# dockerfile: Dockerfile-server
# networks:
# envoymesh:
# aliases:
# - server
# expose:
# - "1500"
networks:
envoymesh: {}