-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
73 lines (67 loc) · 1.59 KB
/
docker-compose-dev.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
version: "3"
services:
pg:
build:
context: .
dockerfile: docker/postgres/Dockerfile
container_name: postgres
ports:
- 5432:5432
volumes:
- /var/lib/postgresql/data/pg_data_timescale
- ./docker/postgres/backup:/usr/local/share/postgresql/backup
environment:
POSTGRES_PASSWORD: 123456
POSTGRES_DB: crypto-executor
POSTGRES_USER: executor
POSTGRES_PORT: 5432
PGDATA: /var/lib/postgresql/data/pg_data_timescale
crypto-executor:
build:
context: .
dockerfile: docker/executor/Dockerfile
image: crypto/executor
depends_on:
- pg
volumes:
- ./logs/executor:/app/logs
ports:
- 5001:5001
crypto-datacollect:
build:
context: .
dockerfile: docker/datacollect/Dockerfile
depends_on:
- pg
volumes:
- ./logs/datacollect:/app/logs
environment:
host: postgres
pgadmin:
image: dpage/pgadmin4
ports:
- 8901:80
volumes:
- pgvol:/var/lib/pgadmin
- ./docker/pgadmin/servers.json:/pgadmin4/servers.json
depends_on:
- pg
environment:
- PGADMIN_DEFAULT_PASSWORD=test1234
grafana:
image: grafana/grafana
container_name: grafana
user: "1000"
depends_on:
- pg
ports:
- 3000:3000
volumes:
- /var/lib/grafana
environment:
- GF_SECURITY_ALLOW_EMBEDDING=true
- GF_AUTH_ANONYMOUS_ENABLED=true
volumes:
pg_data:
pgvol: