File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 88# ./midnight-node wizards register1 USE Ogmios hostname: host.docker.internal
99#
1010
11- if [ -z " $MIDNIGHT_NODE_IMAGE " ]; then
12- echo " Error: Env var MIDNIGHT_NODE_IMAGE is not set or is empty"
13- echo " Please install direnv and run 'direnv allow' to activate it."
14- exit 1
15- fi
16-
17- if [[ " $( uname) " == " Darwin" ]]; then
18- # For arm mac persuade docker to be more liberal:
19- export DOCKER_DEFAULT_PLATFORM=linux/arm64
20- fi
21-
22- docker run -it \
23- -e CFG_PRESET=" ${CFG_PRESET} " \
24- -e DB_SYNC_POSTGRES_CONNECTION_STRING=" ${DB_SYNC_POSTGRES_CONNECTION_STRING} " \
25- -v ./data:/data \
26- -v " ./envs/${CFG_PRESET} /pc-chain-config.json:/pc-chain-config.json" \
27- --entrypoint bash \
28- " ${MIDNIGHT_NODE_IMAGE} "
11+ docker exec -it midnight bash
You can’t perform that action at this time.
0 commit comments