-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
54 lines (49 loc) · 1.04 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
version: '3.9'
volumes:
prometheus_data: { }
grafana_data: { }
services:
go-dcp:
build: .
ports:
- "8080:8080"
expose:
- 8080
depends_on:
- couchbase
couchbase:
build: ./couchbase
ports:
- "8091-8094:8091-8094"
- "11210:11210"
expose:
- 8091
environment:
- COUCHBASE_ADMINISTRATOR_USERNAME=user
- COUCHBASE_ADMINISTRATOR_PASSWORD=password
prometheus:
image: prom/prometheus:v2.53.1
container_name: prometheus
volumes:
- ./prometheus:/etc/prometheus
- prometheus_data:/prometheus
ports:
- "9090:9090"
expose:
- 9090
grafana:
image: grafana/grafana:10.0.0
container_name: grafana
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
environment:
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_ANONYMOUS_ENABLED=true
ports:
- "3000:3000"
expose:
- 3000
depends_on:
- prometheus