-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yaml
51 lines (47 loc) · 1.19 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
version: "3.7"
services:
envoy:
image: envoyproxy/envoy:v1.20-latest
volumes:
- ./served-config/envoy.yaml:/etc/envoy/config.yaml
- ./configs/security/tls.crt:/etc/certs/tls.crt
- ./configs/security/tls.key:/etc/certs/tls.key
entrypoint: /usr/local/bin/envoy -c /etc/envoy/config.yaml
networks:
- network
ports:
- "8000:8000"
- "8443:8443"
- "19000:19000"
upstream:
build:
context: ./upstream
dockerfile: service/Dockerfile
networks:
- network
auth:
build:
context: ./auth
dockerfile: service/Dockerfile
networks:
- network
prometheus:
image: prom/prometheus
volumes:
- ./configs/monitoring/prometheus.yaml:/etc/prometheus/prometheus.yml
networks:
- network
ports:
- "9090:9090"
grafana:
image: grafana/grafana:8.5.4
volumes:
- ./configs/monitoring/grafana.ini:/etc/grafana/grafana.ini
- ./configs/monitoring/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yaml
- ./configs/monitoring/dashboard.json:/usr/share/grafana/public/dashboards/home.json
ports:
- 3000:3000
links:
- prometheus
networks:
network: {}