Browse Source

Merge branch 'fix_mydojo_bitcoin_restart' into 'develop'

prevent restart of bitcoin container if bitcoind fails

See merge request dojo/samourai-dojo!177
use-env-var-docker
kenshin-samourai 4 years ago
parent
commit
a76f2d6380
  1. 2
      docker/my-dojo/.env
  2. 2
      docker/my-dojo/bitcoin/restart.sh

2
docker/my-dojo/.env

@ -12,7 +12,7 @@ COMPOSE_CONVERT_WINDOWS_PATHS=1
DOJO_VERSION_TAG=1.9.0
DOJO_DB_VERSION_TAG=1.2.0
DOJO_BITCOIND_VERSION_TAG=1.9.0
DOJO_BITCOIND_VERSION_TAG=1.10.0
DOJO_NODEJS_VERSION_TAG=1.9.0
DOJO_NGINX_VERSION_TAG=1.5.0
DOJO_TOR_VERSION_TAG=1.6.0

2
docker/my-dojo/bitcoin/restart.sh

@ -44,7 +44,7 @@ if [ "$COMMON_BTC_NETWORK" == "testnet" ]; then
bitcoind_options+=(-testnet)
fi
bitcoind "${bitcoind_options[@]}"
bitcoind "${bitcoind_options[@]}" || true
# Keep the container up
while true

Loading…
Cancel
Save