Skip to content

Commit

Permalink
Update to getumbrel/manager:v0.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Aug 5, 2021
1 parent 694f61e commit 3a8b8b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions scripts/start
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 3a8b8b3

Please sign in to comment.