-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
89 lines (81 loc) · 1.79 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
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
version: "3.9"
volumes:
prometheus_data: {}
grafana_data: {}
networks:
local:
services:
cendermint:
profiles: ["cendermint"]
build:
context: .
dockerfile: Dockerfile-dev
image: cendermint-dev
container_name: cendermint
command: >
/bin/sh -c 'Cendermint run'
ports:
- 26661:26661
networks:
- local
restart: unless-stopped
redis:
image: redis:latest
container_name: cdt_cache
restart: unless-stopped
ports:
- 6379:6379
networks:
- local
db:
image: postgres
container_name: cdt_db
restart: unless-stopped
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: 1234567890
POSTGRES_DB: cendermint
ports:
- 5432:5432
networks:
- local
adminer:
image: adminer
container_name: cdt_adminer
restart: unless-stopped
environment:
ADMINER_DESIGN: dracula
ports:
- 3333:8080
networks:
- local
prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ./prometheus/:/etc/prometheus/
- prometheus_data:/prometheus
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
- "--web.console.templates=/usr/share/prometheus/consoles"
ports:
- 9090:9090
networks:
- local
restart: unless-stopped
grafana:
image: grafana/grafana:latest
container_name: grafana
volumes:
- grafana_data:/var/lib/grafana
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_USERS_ALLOW_SIGN_UP=false
restart: unless-stopped
ports:
- 3000:3000
networks:
- local