Browse Source

Update to getumbrel/manager:v0.2.13

master-prepare
Luke Childs 3 years ago
parent
commit
3a8b8b3378
  1. 3
      docker-compose.yml
  2. 8
      scripts/start

3
docker-compose.yml

@ -66,7 +66,7 @@ services:
ipv4_address: $DASHBOARD_IP
manager:
container_name: manager
image: getumbrel/manager:v0.2.12@sha256:1d9dc50743b10c7f57f0514a50932e4c99e5a77616ef24ecd1f9826b6085b8fc
image: getumbrel/manager:v0.2.13@sha256:cb0c7a66de89c0a8b8c8e292086f9508f19a8c63c7e962d7f97723c4fd8ec367
depends_on: [ tor ]
restart: on-failure
stop_grace_period: 5m30s
@ -117,6 +117,7 @@ services:
TOR_PROXY_IP: "${TOR_PROXY_IP}"
TOR_PROXY_PORT: "${TOR_PROXY_PORT}"
TOR_HIDDEN_SERVICE_DIR: "/var/lib/tor"
IS_UMBREL_OS: ${IS_UMBREL_OS:-"false"}
networks:
default:
ipv4_address: $MANAGER_IP

8
scripts/start

@ -56,6 +56,14 @@ echo
echo "Setting environment variables..."
echo
# Check Umbrel OS
[[ -f "/etc/default/umbrel" ]] && source "/etc/default/umbrel"
if [[ -z "${UMBREL_OS:-}" ]]; then
export IS_UMBREL_OS="false"
else
export IS_UMBREL_OS="true"
fi
# Whitelist device IP, hostname and hidden service for CORS
DEVICE_IP="$(ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')"
DEVICE_HOSTNAME="$(hostname)"

Loading…
Cancel
Save