-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (49 loc) · 1.03 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
version: '3'
services:
nodes:
image: darchlabs/nodes:nightly # using image name tag
depends_on:
- postgres
- redis
restart: always
env_file:
- ./node.env
volumes:
- ./data/nodes:/home/nodes/data:rw
restart: on-failure
ports:
- "8545-8595:8545-8595"
- "6969:6969"
backoffice:
image: darchlabs/backoffice:0.0.2
depends_on:
- postgres_backoffice
restart: always
env_file:
- ./backoffice.env
ports:
- "9000:9000"
volumes:
- ./data/backoffice:/home/backoffice/data
redis:
image: redis:latest
ports:
- 6379:6379
volumes:
- ./data/redis:/data-redis:rw
postgres:
image: postgres:13
ports:
- 5432:5432
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
postgres_backoffice:
image: postgres:13
ports:
- 5433:5432
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres