diff --git a/README.md b/README.md index eaada12..d018dff 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,8 @@ This image now supports password protection through htpasswd. Run the following ## Versions -* **16.10.18:** - Updated fastcgi_params for user login support +* **17.10.18:** - Symlink avatars folder. +* **16.10.18:** - Updated fastcgi_params for user login support. * **07.10.18:** - Symlink `.env` rather than copy. It now resides under `/config/www` * **30.09.18:** - Multi-arch image. Move `.env` to `/config`. * **05.09.18:** - Rebase to alpine linux 3.8. diff --git a/readme-vars.yml b/readme-vars.yml index 5fc83c0..4706ff0 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -47,7 +47,8 @@ app_setup_block: | # changelog changelogs: - - { date: "16.10.18:", desc: "Updated fastcgi_params for user login support" } + - { date: "17.10.18:", desc: "Symlink avatars folder." } + - { date: "16.10.18:", desc: "Updated fastcgi_params for user login support." } - { date: "07.10.18:", desc: "Symlink `.env` rather than copy. It now resides under `/config/www`" } - { date: "30.09.18:", desc: "Multi-arch image. Move `.env` to `/config`." } - { date: "05.09.18:", desc: "Rebase to alpine linux 3.8." } diff --git a/root/etc/cont-init.d/50-config b/root/etc/cont-init.d/50-config index 4e41092..7376387 100644 --- a/root/etc/cont-init.d/50-config +++ b/root/etc/cont-init.d/50-config @@ -2,7 +2,7 @@ # make our folders mkdir -p \ - /config/www/{backgrounds,icons} + /config/www/{backgrounds,icons,avatars} # copy .env if not exists [[ ! -f /config/www/.env ]] && \ @@ -11,6 +11,7 @@ mkdir -p \ # create symlinks symlinks=( \ +/var/www/localhost/heimdall/storage/app/public/avatars \ /var/www/localhost/heimdall/storage/app/public/backgrounds \ /var/www/localhost/heimdall/storage/app/public/icons \ /var/www/localhost/heimdall/database/app.sqlite \