-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
44 lines (39 loc) · 979 Bytes
/
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
version: '3.5'
services:
exporter:
image: aikoven/foundationdb-exporter:${BUILD_TAG:-latest}
build: ./exporter
platform: linux/amd64
environment:
# this is the default
FDB_CLUSTER_FILE: /etc/foundationdb/fdb.cluster
volumes:
- foundationdb-config:/etc/foundationdb/
depends_on:
- foundationdb
ports:
- '127.0.0.1:9444:9444'
foundationdb:
build: ./foundationdb
environment:
FDB_CLUSTER_FILE: /etc/foundationdb/fdb.cluster
volumes:
- foundationdb-config:/etc/foundationdb/
ports:
- '127.0.0.1:4500:4500'
prometheus:
image: prom/prometheus:v2.35.0
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
# ports:
# - '127.0.0.1:9090:9090'
grafana:
image: grafana/grafana:8.5.3
volumes:
- ./grafana:/etc/grafana
depends_on:
- prometheus
ports:
- '127.0.0.1:3000:3000'
volumes:
foundationdb-config: {}