-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
111 lines (101 loc) · 2.34 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3.9"
services:
listener:
extends:
file: docker-compose.yml
service: listener
build:
context: listener
dockerfile: Dockerfile.dev
volumes:
- ./listener/cmd:/app/cmd
- ./listener/internal:/app/internal
- ./jwt:/app/jwt
networks:
dncore_network:
aliases:
- listener.dappnode
mongo:
extends:
file: docker-compose.yml
service: mongo
networks:
dncore_network:
aliases:
- mongo.dappnode
ui:
extends:
file: docker-compose.yml
service: ui
networks:
dncore_network:
aliases:
- ui.dappnode
# Below services simulates web3signer setup
web3signer:
build:
context: web3signer/signer
dockerfile: Dockerfile
depends_on:
flyway:
condition: service_completed_successfully
container_name: web3signer
restart: always
volumes:
- "signer_data:/app/web3signer"
networks:
dncore_network:
aliases:
- web3signer.web3signer-holesky.dappnode
flyway:
build:
context: web3signer/flyway
dockerfile: Dockerfile
container_name: flyway
depends_on:
postgres:
condition: service_started
networks:
dncore_network:
aliases:
- flyway.web3signer.dappnode
postgres:
build:
context: web3signer/postgres
dockerfile: Dockerfile
container_name: postgres
user: postgres
healthcheck:
test: pg_isready -U postgres
interval: 5s
timeout: 5s
retries: 5
restart: always
networks:
dncore_network:
aliases:
- postgres.web3signer.dappnode
brain:
image: staking-brain:0.1.18
environment:
NETWORK: holesky
_DAPPNODE_GLOBAL_EXECUTION_CLIENT_HOLESKY: "holesky-geth.dnp.dappnode.eth"
_DAPPNODE_GLOBAL_CONSENSUS_CLIENT_HOLESKY: "lighthouse-holesky.dnp.dappnode.eth"
SHARE_DATA_WITH_DAPPNODE: "true"
VALIDATORS_MONITOR_URL: "http://listener.dappnode:8080"
SHARE_CRON_INTERVAL: "3600"
restart: always
volumes:
- "brain_data:/app/data"
networks:
dncore_network:
aliases:
- brain.web3signer.dappnode
networks:
dncore_network:
name: dncore_network
external: true
volumes:
signer_data: {}
brain_data: {}
mongo_data: {}