File tree Expand file tree Collapse file tree 4 files changed +26
-18
lines changed Expand file tree Collapse file tree 4 files changed +26
-18
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ install-docker:
5
5
.PHONY : install-acme
6
6
install-acme :
7
7
curl https://get.acme.sh | sh -s email=dmitry@ankr.com
8
- bash ./issue-cert.bash || true
8
+ bash ./issue-cert.bash
9
9
10
10
.PHONY : create-genesis
11
11
create-genesis :
@@ -20,5 +20,12 @@ run-blockchain:
20
20
run-explorer :
21
21
docker compose -f ./blockscout/docker-compose.yaml up --build -d
22
22
23
+ .PHONY : run-balancer
24
+ run-balancer :
25
+ cat ./balancer/docker-compose.yaml | envsubst | docker-compose -f - up -d
26
+
27
+ .PHONY : all-no-balancer
28
+ all : install-docker create-genesis run-blockchain run-explorer
29
+
23
30
.PHONY : all
24
- all : install-docker install-acme create-genesis run-blockchain run-explorer
31
+ all : install-docker install-acme create-genesis run-blockchain run-explorer run-balancer
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+ services :
3
+ nginx :
4
+ image : nginx
5
+ volumes :
6
+ - /root/.acme.sh/:/root/.acme.sh/
7
+ - ./nginx.conf:/nginx.conf
8
+ environment :
9
+ DOMAIN_NAME : " ${DOMAIN_NAME}"
10
+ ports :
11
+ - " 443:443"
12
+ command : /bin/bash -c "envsubst '${DOMAIN_NAME}' < /nginx.conf > /etc/nginx/conf.d/00-default.conf && cat /etc/nginx/conf.d/00-default.conf && nginx -g 'daemon off;'"
13
+ restart : always
File renamed without changes.
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ services:
13
13
volumes :
14
14
- " ./genesis.json:/datadir/genesis.json"
15
15
- " ./datadir/bootnode:/datadir/geth"
16
+ ports :
17
+ - " 30303:30303"
16
18
restart : always
17
19
18
20
validator_1 :
@@ -165,7 +167,7 @@ services:
165
167
- " --faucet.amount=10"
166
168
- " --faucet.tiers=5"
167
169
ports :
168
- - " 8080 :8080"
170
+ - " 3000 :8080"
169
171
volumes :
170
172
- " ./genesis.json:/datadir/genesis.json"
171
173
- " ./keystore:/datadir/keystore"
@@ -176,18 +178,4 @@ services:
176
178
image : ankrnetwork/bas-staking-ui:devel
177
179
ports :
178
180
- " 3001:80"
179
- restart : always
180
- nginx :
181
- image : nginx
182
- volumes :
183
- - /root/.acme.sh/:/root/.acme.sh/
184
- - ./nginx.conf:/nginx.conf
185
- environment :
186
- DOMAIN_NAME : " ${DOMAIN_NAME}"
187
- ports :
188
- - " 443:443"
189
- command : /bin/bash -c "envsubst '${DOMAIN_NAME}' < /nginx.conf > /etc/nginx/conf.d/00-default.conf && cat /etc/nginx/conf.d/00-default.conf && nginx -g 'daemon off;'"
190
- restart : always
191
-
192
- volumes :
193
- postgresql_data : { }
181
+ restart : always
You can’t perform that action at this time.
0 commit comments