Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
⬆️ Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed Aug 31, 2019
1 parent 50c4113 commit 9f02692
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions home-panel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ RUN \
yarn=1.16.0-r0 \
\
&& apk add --no-cache \
nginx=1.16.0-r2 \
nginx=1.16.1-r0 \
nodejs-current=12.4.0-r0 \
\
# TODO: Replace with release tag
&& git clone --branch "one-port" --depth=1 \
&& git clone --branch "master" --depth=1 \
"https://github.com/timmo001/home-panel.git" /tmp/api \
&& mv /tmp/api/api /opt/panel \
\
&& mkdir -p /tmp/panel \
# TODO: Replace with actual download
&& curl -J -L -o /tmp/panel.zip \
"https://gitlab.com/timmo/home-panel/-/jobs/265562240/artifacts/download" \
"https://gitlab.com/timmo/home-panel/-/jobs/284851910/artifacts/download" \
&& unzip -d /tmp/panel /tmp/panel.zip \
&& mv /tmp/panel/build/* /opt/panel/public \
\
Expand Down
3 changes: 1 addition & 2 deletions home-panel/rootfs/etc/cont-init.d/secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
# This updates the internal auth secret for the API
# ==============================================================================
# shellcheck disable=2094,2016
# TODO: Fix this
# bashio::jq /opt/panel/config/default.json '.authentication.secret="$(openssl rand -base64 32)"' > /opt/panel/config/default.json
bashio::jq /opt/panel/config/default.json '.authentication.secret="$(openssl rand -base64 32)"' > /opt/panel/config/default.json

0 comments on commit 9f02692

Please sign in to comment.