[#68] service/morph: Add volume for morph_chain
All checks were successful
DCO action / DCO (pull_request) Successful in 42s
All checks were successful
DCO action / DCO (pull_request) Successful in 42s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
2b6122192a
commit
7837919a49
3 changed files with 20 additions and 12 deletions
4
Makefile
4
Makefile
|
@ -74,6 +74,7 @@ up/basic: up/bootstrap
|
|||
.PHONY: up/bootstrap
|
||||
up/bootstrap: get vendor/hosts
|
||||
@$(foreach SVC, $(START_BOOTSTRAP), $(shell docker-compose -f services/$(SVC)/docker-compose.yml up -d))
|
||||
@if ! ./vendor/frostfs-adm morph dump-hashes --config frostfs-adm.yml > /dev/null 2>&1; then
|
||||
@source ./bin/helper.sh
|
||||
@./vendor/frostfs-adm --config frostfs-adm.yml morph init --contracts vendor/contracts
|
||||
echo "Set rule chain to policy contract"
|
||||
|
@ -86,6 +87,9 @@ up/bootstrap: get vendor/hosts
|
|||
|| die "Failed to transfer GAS to alphabet wallets"; \
|
||||
done
|
||||
@echo "FrostFS sidechain environment is deployed"
|
||||
else
|
||||
@echo "Skipping deploy contract"
|
||||
fi
|
||||
|
||||
# Build up certain service
|
||||
.PHONY: up/%
|
||||
|
|
|
@ -19,9 +19,13 @@ services:
|
|||
- ./config.yml:/wallets/config.yml
|
||||
- ./../../vendor/hosts:/etc/hosts
|
||||
- ./../../wallets/wallet.json:/wallets/wallet.json
|
||||
- chains:/chains
|
||||
|
||||
networks:
|
||||
chain_int:
|
||||
internet:
|
||||
external: true
|
||||
name: basenet_internet
|
||||
|
||||
volumes:
|
||||
chains:
|
||||
|
|
|
@ -17,7 +17,7 @@ ApplicationConfiguration:
|
|||
DBConfiguration:
|
||||
Type: "boltdb"
|
||||
BoltDBOptions:
|
||||
FilePath: "./db/morph.bolt"
|
||||
FilePath: "/chains/morph.bolt"
|
||||
P2P:
|
||||
Addresses:
|
||||
- ":20333"
|
||||
|
|
Loading…
Add table
Reference in a new issue