-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (53 loc) · 1.15 KB
/
Copy pathdocker-compose.yml
File metadata and controls
54 lines (53 loc) · 1.15 KB
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.7"
services:
bitbot:
# image: bbriggs/bitbot:latest
build: .
environment:
SERVER: "irc.example.com:6697"
CHANNELS: "#bots"
NICK: "bitbot-fraq"
SSL: "true"
PROM: "true"
PROMADDR: "0.0.0.0:8080"
DBUSER: "bitbot"
DBPASS: "bitbot"
DBHOST: "db"
DBPORT: "5432"
DBSSLMODE: "disable"
ports:
- "127.0.0.1:8080:8080"
prometheus:
image: prom/prometheus
command:
- '--config.file=/tmp/prometheus.yml'
volumes:
- ./prometheus.yml:/tmp/prometheus.yml
- prometheus:/prometheus
ports:
- "127.0.0.1:9090:9090"
grafana:
image: grafana/grafana
ports:
- "127.0.0.1:3000:3000"
environment:
GF_SECURITY_ADMIN_PASSWORD: "grafana"
volumes:
- grafana:/var/lib/grafana
db:
image: postgres:12.1
ports:
- "127.0.0.1:5432:5432"
restart: unless-stopped
volumes:
- db-data:/var/lib/postgresql/data
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: bitbot
POSTGRES_PASSWORD: bitbot
POSTGRES_DB: bitbot
volumes:
grafana:
prometheus:
bolt:
db-data: