Commit 381e7fa 1 parent fdb87d4 commit 381e7fa Copy full SHA for 381e7fa
File tree 2 files changed +21
-15
lines changed
2 files changed +21
-15
lines changed Original file line number Diff line number Diff line change @@ -43,56 +43,64 @@ services:
43
43
depends_on :
44
44
flyway :
45
45
condition : service_completed_successfully
46
+ container_name : web3signer
47
+ restart : always
48
+ volumes :
49
+ - " signer_data:/app/web3signer"
46
50
networks :
47
51
dncore_network :
48
52
aliases :
49
53
- web3signer.web3signer-holesky.dappnode
50
- restart : always
51
54
52
55
flyway :
53
56
build :
54
57
context : web3signer/flyway
55
58
dockerfile : Dockerfile
59
+ container_name : flyway
60
+ depends_on :
61
+ postgres :
62
+ condition : service_started
56
63
networks :
57
64
dncore_network :
58
65
aliases :
59
66
- flyway.web3signer.dappnode
60
- depends_on :
61
- postgres :
62
- condition : service_started
63
67
64
68
postgres :
65
69
build :
66
70
context : web3signer/postgres
67
71
dockerfile : Dockerfile
68
- networks :
69
- dncore_network :
70
- aliases :
71
- - postgres.web3signer.dappnode
72
+ container_name : postgres
72
73
user : postgres
73
74
healthcheck :
74
75
test : pg_isready -U postgres
75
76
interval : 5s
76
77
timeout : 5s
77
78
retries : 5
78
79
restart : always
80
+ networks :
81
+ dncore_network :
82
+ aliases :
83
+ - postgres.web3signer.dappnode
79
84
80
85
brain :
81
86
build :
82
87
context : web3signer/brain
83
88
dockerfile : Dockerfile
89
+ container_name : brain
90
+ restart : always
91
+ volumes :
92
+ - " brain_data:/app/data"
84
93
networks :
85
94
dncore_network :
86
95
aliases :
87
96
- brain.web3signer.dappnode
88
- volumes :
89
- - " brain_data:/app/data"
90
97
91
98
networks :
92
99
dncore_network :
93
100
name : dncore_network
94
101
external : true
95
102
96
103
volumes :
104
+ signer_data : {}
97
105
brain_data : {}
98
106
mongo_data : {}
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ services:
5
5
build :
6
6
context : listener
7
7
dockerfile : Dockerfile
8
- ports :
9
- - " 8080:8080"
10
8
environment :
11
9
MONGO_DB_URI : " mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@mongo:${MONGO_DB_API_PORT}"
12
10
API_PORT : " ${API_PORT}"
@@ -16,10 +14,10 @@ services:
16
14
BEACON_NODE_URL_HOLESKY : ${BEACON_NODE_URL_HOLESKY}
17
15
BEACON_NODE_URL_LUKSO : ${BEACON_NODE_URL_LUKSO}
18
16
BEACON_NODE_URL_GNOSIS : ${BEACON_NODE_URL_GNOSIS}
19
-
20
17
depends_on :
21
18
- mongo
22
19
container_name : listener
20
+ restart : always
23
21
24
22
ui :
25
23
build :
@@ -36,8 +34,7 @@ services:
36
34
depends_on :
37
35
- mongo
38
36
container_name : ui
39
- ports :
40
- - " 8081:8081" # required for mac os access UI
37
+ restart : always
41
38
42
39
mongo :
43
40
build :
@@ -49,6 +46,7 @@ services:
49
46
MONGO_INITDB_ROOT_PASSWORD : ${MONGO_INITDB_ROOT_PASSWORD}
50
47
command : ["mongod", "--config", "/etc/mongo/mongod.conf"]
51
48
container_name : mongo
49
+ restart : always
52
50
53
51
volumes :
54
52
mongo_data : {}
You can’t perform that action at this time.
0 commit comments