forked from mehtadone/PT-Risk-Dash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (42 loc) · 1010 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
45
46
47
version: '3.6'
volumes:
grafana_data: {}
pgadmin_data: {}
networks:
public:
driver: overlay
services:
grafana:
image: grafana/grafana
restart: always
ports:
- 3000:3000
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
environment:
- GF_SECURITY_ADMIN_PASSWORD=grafana_password
- GF_USERS_ALLOW_SIGN_UP=false
db:
image: postgres
restart: always
ports:
- "127.0.0.1:5432:5432"
volumes:
- /var/lib/postgresql/data:/var/lib/postgresql/data
- ./postgres/:/docker-entrypoint-initdb.d/
environment:
POSTGRES_USER: pt_binance
POSTGRES_PASSWORD: pt_binance
POSTGRES_DB: pt_binance
PGDATA: /data/postgres
pgadmin:
image: fenglc/pgadmin4
restart: unless-stopped
ports:
- "5050:5050"
volumes:
- pgadmin_data:/var/lib/pgadmin
environment:
- "DEFAULT_USER=pg_user"
- "DEFAULT_PASSWORD=pg_pasword"