Browse Source

Increase Docker HTTP timeouts (#82)

mount-script-check
Mayank Chhabra 5 years ago
committed by GitHub
parent
commit
8a2c67a709
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      scripts/start
  2. 5
      scripts/stop

5
scripts/start

@ -50,6 +50,11 @@ echo "Starting karen..."
echo echo
./karen & ./karen &
# Increase default Docker and Compose timeouts to 240s
# As bitcoin can take a long while to respond
export DOCKER_CLIENT_TIMEOUT=240
export COMPOSE_HTTP_TIMEOUT=240
echo echo
echo "Starting Docker services..." echo "Starting Docker services..."
echo echo

5
scripts/stop

@ -19,6 +19,11 @@ fi
cd "$UMBREL_ROOT" cd "$UMBREL_ROOT"
# Increase default Docker and Compose timeouts to 240s
# As bitcoin can take a long while to respond
export DOCKER_CLIENT_TIMEOUT=240
export COMPOSE_HTTP_TIMEOUT=240
echo "Stopping Docker services..." echo "Stopping Docker services..."
echo echo
docker-compose down docker-compose down

Loading…
Cancel
Save