-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
79 lines (73 loc) · 1.76 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
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
version: "3.3"
services:
# Metrics store
influxdb:
# 21/03/15 - DB V2 구조 변경으로 기존 버전 연결 문제 발생: 1.8.4 버전으로 고정해서 처리, 향후 Influx관련 코드를 v2에 맞도록 처리할 필요 있음.
image: influxdb:1.8.4
container_name: cb-restapigw-influxdb
ports:
- "8083:8083"
- "8086:8086"
env_file:
- 'env.influxdb'
volumes:
- ./data/influxdb/data:/var/lib/influxdb
# Metrics UI
grafana:
image: grafana/grafana:7.4.5
container_name: cb-restapigw-grafana
user: "1000"
ports:
- "3100:3000"
depends_on:
- influxdb
env_file:
- 'env.grafana'
links:
- influxdb
volumes:
- ./data/grafana/data:/var/lib/grafana
- ./data/grafana/provisioning:/etc/grafana/provisioning
# Trace store and UI
jaeger:
image: jaegertracing/all-in-one:latest
container_name: cb-restapigw-jaeger
ports:
- "14268:14268"
- "16686:16686"
fake_api:
image: jaxgeller/lwan
container_name: fake_api
volumes:
- ./data/lwan:/lwan/wwwroot
ports:
- "8100:8080"
fake_api2:
image: jaxgeller/lwan
container_name: fake_api2
volumes:
- ./data/lwan:/lwan/wwwroot
ports:
- "8200:8080"
hmac_site:
build:
context: ./restapigw/deploy/web
container_name: hmac_server
volumes:
- ./restapigw/deploy/web/public:/app/public
- ./restapigw/deploy/web/conf:/app/conf
ports:
- "8010:8010"
# cb-restapigw service
cb-restapigw:
build:
context: ./restapigw
container_name: cb-restapigw
volumes:
- ./restapigw/conf:/app/conf
ports:
- "8000:8000"
- "8001:8001"
depends_on:
- influxdb
- jaeger