Compare commits

...

5 Commits

Author SHA1 Message Date
LinuxServer-CI
d7840dc802 Bot Updating Package Versions 2019-08-09 23:55:40 +00:00
j0nnymoe
ab62b2269e save laravel.log to /config (#49)
save laravel.log to /config
2019-07-17 22:56:09 +01:00
aptalca
b3e5cb11cb save laravel.log to /config 2019-07-16 19:59:38 -04:00
LinuxServer-CI
42468518a5 Bot Updating Package Versions 2019-07-13 00:55:49 +01:00
LinuxServer-CI
f6abce49b8 Bot Updating Templated Files 2019-07-05 19:55:00 -04:00
5 changed files with 28 additions and 8 deletions

View File

@@ -171,6 +171,9 @@ Below are the instructions for updating containers:
containrrr/watchtower \
--run-once heimdall
```
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using Docker Compose.
* You can also remove the old dangling images: `docker image prune`
## Building locally
@@ -194,6 +197,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **16.07.19:** - Save laravel.log to /config/log/heimdall.
* **28.06.19:** - Rebasing to alpine 3.10.
* **01.04.19:** - Fix permission detect logic.
* **26.03.19:** - Install Heimdall during container start to prevent delayed start due to overlayfs bug with recursive chown.

View File

@@ -28,7 +28,7 @@ libxml2-2.9.9-r2
libzip-1.5.2-r0
linux-pam-1.3.0-r1
logrotate-3.15.0-r0
musl-1.1.22-r2
musl-1.1.22-r3
musl-utils-1.1.22-r2
nano-4.3-r0
ncurses-libs-6.1_p20190518-r0
@@ -40,21 +40,21 @@ openssl-1.1.1c-r0
pcre-8.43-r0
pcre2-10.33-r0
php7-7.3.6-r0
php7-common-7.3.6-r0
php7-ctype-7.3.6-r0
php7-common-7.3.8-r0
php7-ctype-7.3.8-r0
php7-fileinfo-7.3.6-r0
php7-fpm-7.3.6-r0
php7-json-7.3.6-r0
php7-mbstring-7.3.6-r0
php7-openssl-7.3.6-r0
php7-pdo-7.3.6-r0
php7-pdo_sqlite-7.3.6-r0
php7-pdo-7.3.8-r0
php7-pdo_sqlite-7.3.8-r0
php7-session-7.3.6-r0
php7-simplexml-7.3.6-r0
php7-tokenizer-7.3.6-r0
php7-tokenizer-7.3.8-r0
php7-xml-7.3.6-r0
php7-xmlwriter-7.3.6-r0
php7-zip-7.3.6-r0
php7-zip-7.3.8-r0
popt-1.16-r7
readline-8.0.0-r0
scanelf-1.2.3-r0

View File

@@ -49,6 +49,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "16.07.19:", desc: "Save laravel.log to /config/log/heimdall." }
- { date: "28.06.19:", desc: "Rebasing to alpine 3.10." }
- { date: "01.04.19:", desc: "Fix permission detect logic." }
- { date: "26.03.19:", desc: "Install Heimdall during container start to prevent delayed start due to overlayfs bug with recursive chown." }

View File

@@ -3,7 +3,8 @@
# make our folders
mkdir -p \
/config/www/{backgrounds,icons,avatars,SupportedApps} \
/var/www/localhost/heimdall
/var/www/localhost/heimdall \
/config/log/heimdall
# install heimdall if necessary
[[ -f /heimdall/heimdall.tar.gz ]] && \
@@ -32,6 +33,11 @@ do
[[ ! -L "$i" ]] && ln -s /config/www/"$(basename "$i")" "$i"
done
[[ -e "/var/www/localhost/heimdall/storage/logs/laravel.log" && ! -L "/var/www/localhost/heimdall/storage/logs/laravel.log" ]] \
&& rm -rf "/var/www/localhost/heimdall/storage/logs/laravel.log"
[[ ! -L "/var/www/localhost/heimdall/storage/logs/laravel.log" ]] && \
ln -s "/config/log/heimdall/laravel.log" "/var/www/localhost/heimdall/storage/logs/laravel.log"
# copy .env if not exists
[[ ! -f /config/www/.env ]] && \
cp /var/www/localhost/heimdall/.env.example /config/www/.env && \

View File

@@ -0,0 +1,9 @@
/config/log/heimdall/laravel.log {
size 5M
rotate 5
compress
nodateext
notifempty
missingok
su abc abc
}