Skip to content

Commit

Permalink
quick-install: output login and password, install zip
Browse files Browse the repository at this point in the history
  • Loading branch information
n-at committed Apr 30, 2024
1 parent 400179d commit 614e849
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV DEBIAN_FRONTEND=noninteractive
ADD . /build

RUN apt-get update &&\
apt-get install -y curl git gpg wget unzip &&\
apt-get install -y curl git gpg wget zip unzip &&\
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor >> /nodesource-key.gpg &&\
echo "deb [signed-by=/nodesource-key.gpg] https://deb.nodesource.com/node_20.x bookworm main" >> /etc/apt/sources.list.d/nodesource.list &&\
echo "deb-src [signed-by=/nodesource-key.gpg] https://deb.nodesource.com/node_20.x bookworm main" >> /etc/apt/sources.list.d/nodesource.list &&\
Expand Down
8 changes: 8 additions & 0 deletions docker/quick-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,11 @@ cp "../build/docker/router/playtime.conf" "conf/vhost.conf"
sed -i "s/REPLACE_DOMAIN/${DOMAIN}/g" "conf/vhost.conf"
docker-compose up -d --force-recreate
cd ..

sleep 5
playtime_password=$(cat "playtime/data/admin.password")
echo ">>>>>>>>>> DONE <<<<<<<<<<"
echo ""
echo "Your login: admin"
echo "Your password: ${playtime_password}"
echo ""

0 comments on commit 614e849

Please sign in to comment.