Merge pull request #13 from linuxserver/avatars

Symlink avatars folder
This commit is contained in:
aptalca
2018-10-17 17:18:35 -04:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -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.

View File

@@ -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." }

View File

@@ -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 \