Mayank Chhabra
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
12 additions and
2 deletions
-
docker-compose.yml
-
scripts/start
|
|
@ -102,7 +102,7 @@ services: |
|
|
|
JWT_PRIVATE_KEY_FILE: "/jwt-private-key/jwt.key" |
|
|
|
JWT_EXPIRATION: "3600" |
|
|
|
DOCKER_COMPOSE_DIRECTORY: $PWD |
|
|
|
DEVICE_HOST: "http://umbrel.local" |
|
|
|
DEVICE_HOST: $DEVICE_HOST |
|
|
|
MIDDLEWARE_API_URL: "http://10.11.2.2" |
|
|
|
UMBREL_DASHBOARD_HIDDEN_SERVICE_FILE: "/var/lib/tor/web/hostname" |
|
|
|
SHUTDOWN_SIGNAL_FILE: "/signals/shutdown" |
|
|
@ -135,7 +135,7 @@ services: |
|
|
|
LND_NETWORK: "mainnet" |
|
|
|
LND_HOST: "10.11.1.2" |
|
|
|
JWT_PUBLIC_KEY_FILE: "/jwt-public-key/jwt.pem" |
|
|
|
DEVICE_HOST: "http://umbrel.local" |
|
|
|
DEVICE_HOST: $DEVICE_HOST |
|
|
|
networks: |
|
|
|
net: |
|
|
|
ipv4_address: 10.11.2.2 |
|
|
|
|
|
@ -38,6 +38,12 @@ if [[ ! -d "$UMBREL_ROOT" ]]; then |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
echo "Setting environment variables..." |
|
|
|
echo |
|
|
|
DEVICE_IP="$(hostname -I | cut -d ' ' -f 1)" |
|
|
|
DEVICE_HOSTNAME="$(hostname)" |
|
|
|
export DEVICE_HOST="http://"${DEVICE_IP:-"$DEVICE_HOSTNAME".local}"" |
|
|
|
|
|
|
|
cd "$UMBREL_ROOT" |
|
|
|
|
|
|
|
echo "Starting karen..." |
|
|
@ -48,3 +54,7 @@ echo |
|
|
|
echo "Starting Docker services..." |
|
|
|
echo |
|
|
|
docker-compose up --detach --build --remove-orphans |
|
|
|
echo |
|
|
|
|
|
|
|
echo "Umbrel is now accessible at" |
|
|
|
echo " $DEVICE_HOST" |
|
|
|