Skip to content

Commit

Permalink
Update app-script
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed Sep 27, 2024
1 parent 7db3278 commit 3033c64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/modules/apps/legacy-compat/app-script
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ source_app() {

# Tor specific exports
export TOR_DATA_DIR="${UMBREL_ROOT}/tor/data"
export TOR_ENTRYPOINT_SCRIPT="${SCRIPT_DOCKER_FRAGMENTS}/tor-entrypoint.sh"
export TOR_ENTRYPOINT_SCRIPT="/data/tor/tor-entrypoint.sh"
export TOR_HS_APP_DIR="/data/app-${app}"
export TOR_HS_PORTS="80:${APP_PROXY_HOSTNAME}:${APP_PROXY_PORT}"

Expand Down Expand Up @@ -273,6 +273,9 @@ compose() {
# If remote Tor access is enabled
# Then include a compose file for Tor
if [[ "${REMOTE_TOR_ACCESS}" == "true" ]]; then
mkdir -p /data/tor
cp "${SCRIPT_DOCKER_FRAGMENTS}/tor-entrypoint.sh" "$TOR_ENTRYPOINT_SCRIPT"
chmod +x "$TOR_ENTRYPOINT_SCRIPT"
compose_files+=( "--file" "${tor_compose_file}" )
fi

Expand Down

0 comments on commit 3033c64

Please sign in to comment.