-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
106 lines (101 loc) · 2.6 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
user: root
platform: linux/amd64
ports:
- 64003:1433
entrypoint:
- /docker/entrypoint.sh
environment:
ACCEPT_EULA: "Y"
MSSQL_PID: "Developer"
MSSQL_SA_PASSWORD: "Password!"
SA_PASSWORD: "Password!"
volumes:
- type: volume
target: /var/opt/mssql/data
source: mssql_data
- type: bind
read_only: true
source: ./static
target: /static
- type: bind
read_only: true
source: ./docker
target: /docker
healthcheck:
# We need to use the mssql-tools18 version of sqlcmd (ref: https://github.com/microsoft/mssql-docker/issues/892#issuecomment-2248045546)
test:
- CMD-SHELL
- |
/opt/mssql-tools18/bin/sqlcmd -C -U SA -P "$$SA_PASSWORD" -d 'Chinook'
start_period: 5s
interval: 5s
timeout: 10s
retries: 20
prometheus:
image: prom/prometheus
container_name: prometheus
command:
- "--config.file=/etc/prometheus/prometheus.yml"
ports:
- 9090:9090
restart: unless-stopped
volumes:
- type: bind
source: ./metrics/prometheus/prometheus.yml
target: /etc/prometheus/prometheus.yml
- type: volume
source: prom_data
target: /prometheus
grafana:
image: grafana/grafana
container_name: grafana
ports:
- 3001:3000
restart: unless-stopped
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=grafana
volumes:
- type: bind
source: ./metrics/grafana
target: /etc/grafana/provisioning/datasources
read_only: true
- type: bind
source: ./metrics/grafana/dashboard.yaml
target: /etc/grafana/provisioning/dashboards/main.yaml
- type: bind
source: ./metrics/grafana/dashboards
target: /var/lib/grafana/dashboards
- type: volume
source: grafana_data
target: /var/lib/grafana
auth-hook:
build: ../v3-engine/hasura-authn-webhook/dev-auth-webhook
init: true
ports:
- 3050:3050
jaeger:
image: jaegertracing/all-in-one:1.56
restart: always
ports:
- 5775:5775/udp
- 6831:6831/udp
- 6832:6832/udp
- 5778:5778
- 4002:16686
- 14250:14250
- 14268:14268
- 14269:14269
- 4317:4317 # OTLP gRPC
- 4318:4318 # OTLP HTTP
- 9411:9411
environment:
COLLECTOR_OTLP_ENABLED: "true"
COLLECTOR_ZIPKIN_HOST_PORT: "9411"
volumes:
prom_data:
grafana_data:
mssql_data: