finish heimdall integration

This commit is contained in:
t3chn0m4g3
2020-01-27 17:03:44 +00:00
parent 1167231560
commit 33222a92b6
9 changed files with 30 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 KiB

After

Width:  |  Height:  |  Size: 510 KiB

BIN
docker/heimdall/dist/app/eshead.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

10
docker/heimdall/dist/start.sh vendored Executable file
View File

@ -0,0 +1,10 @@
#!/bin/ash
if [ "$(ls /var/lib/nginx/html/database)" = "" ] && [ "$HEIMDALL_PERSIST" = "YES" ];
then
tar xvfz /var/lib/nginx/first.tgz -C /
fi
if [ "$HEIMDALL_PERSIST" = "YES" ];
then
chmod 770 -R /var/lib/nginx/html/database /var/lib/nginx/html/storage
chown root:www-data -R /var/lib/nginx/html/database /var/lib/nginx/html/storage
fi