Fix output path

This commit is contained in:
Aidan Timson 2021-02-19 19:42:12 +00:00
parent 838c98d427
commit f19e9f4820
3 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ RUN \
&& curl -L -s "https://github.com/timmo001/home-panel/releases/download/v2.11.2/home-panel.tar.gz" \
| tar zxvf - -C /opt/panel \
\
&& cd /opt/panel \
&& cd /opt/panel/output \
&& yarn install \
\
&& apk del --no-cache --purge .build-dependencies \

View file

@ -15,8 +15,8 @@ key=$(cat /data/secret.txt)
# Set secret to persistent secret file
bashio::log.info "Update secret in config"
sed -i "s#API_AUTH_SECRET#${key}#g" /opt/panel/config/default.json
sed -i "s#API_AUTH_SECRET#${key}#g" /opt/panel/output/config/default.json
# Set database to /data
bashio::log.info "Update database path in config"
sed -i "s#../db#/data#g" /opt/panel/config/default.json
sed -i "s#../db#/data#g" /opt/panel/output/config/default.json

View file

@ -5,7 +5,7 @@
# ==============================================================================
bashio::log.info "Run Home Panel.."
cd /opt/panel \
cd /opt/panel/output \
|| bashio::exit.nok "Could not change into app directory"
SUPPRESS_URL="true"