-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.yml
74 lines (67 loc) · 1.35 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3.3'
services:
ca:
build:
context: ./ca
dockerfile: Dockerfile
secrets:
- password
ports:
- "9000:9000"
restart: always
sds:
build:
context: ./sds
dockerfile: Dockerfile
depends_on:
- ca
environment:
STEP_CA_URL: "https://ca:9000"
STEP_FINGERPRINT: "154fa6239ba9839f50b6a17f71addb77e4c478db116a2fbb08256faa786245f5"
secrets:
- password
restart: always
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
restart: always
backend:
build:
context: ./backend
dockerfile: Dockerfile
restart: always
# Envoy connecting to SDS using mTLS
envoy:
build:
context: .
dockerfile: ./envoy/Dockerfile
depends_on:
- ca
- sds
secrets:
- password
ports:
- "10000:10000"
- "10001:10001"
restart: always
# Envoy connecting to SDS using unix sockets
envoy-sds:
build:
context: .
dockerfile: ./envoy-sds/Dockerfile
depends_on:
- ca
- sds
environment:
STEP_CA_URL: "https://ca:9000"
STEP_FINGERPRINT: "154fa6239ba9839f50b6a17f71addb77e4c478db116a2fbb08256faa786245f5"
secrets:
- password
ports:
- "10010:10010"
- "10011:10011"
restart: always
secrets:
password:
file: ./password.txt