mirror of
				https://github.com/linuxserver/docker-heimdall.git
				synced 2025-10-31 13:07:39 +09:00 
			
		
		
		
	Symlink avatars folder
This commit is contained in:
		| @@ -136,7 +136,8 @@ This image now supports password protection through htpasswd. Run the following | |||||||
|  |  | ||||||
| ## Versions | ## 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` | * **07.10.18:** - Symlink `.env` rather than copy. It now resides under `/config/www` | ||||||
| * **30.09.18:** - Multi-arch image. Move `.env` to `/config`. | * **30.09.18:** - Multi-arch image. Move `.env` to `/config`. | ||||||
| * **05.09.18:** - Rebase to alpine linux 3.8. | * **05.09.18:** - Rebase to alpine linux 3.8. | ||||||
|   | |||||||
| @@ -47,7 +47,8 @@ app_setup_block: | | |||||||
|  |  | ||||||
| # changelog | # changelog | ||||||
| changelogs: | 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: "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: "30.09.18:", desc: "Multi-arch image. Move `.env` to `/config`." } | ||||||
|   - { date: "05.09.18:", desc: "Rebase to alpine linux 3.8." } |   - { date: "05.09.18:", desc: "Rebase to alpine linux 3.8." } | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
| # make our folders | # make our folders | ||||||
| mkdir -p \ | mkdir -p \ | ||||||
| 	/config/www/{backgrounds,icons} | 	/config/www/{backgrounds,icons,avatars} | ||||||
|  |  | ||||||
| # copy .env if not exists | # copy .env if not exists | ||||||
| [[ ! -f /config/www/.env ]] && \ | [[ ! -f /config/www/.env ]] && \ | ||||||
| @@ -11,6 +11,7 @@ mkdir -p \ | |||||||
| # create symlinks | # create symlinks | ||||||
|  |  | ||||||
| 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/backgrounds \ | ||||||
| /var/www/localhost/heimdall/storage/app/public/icons \ | /var/www/localhost/heimdall/storage/app/public/icons \ | ||||||
| /var/www/localhost/heimdall/database/app.sqlite \ | /var/www/localhost/heimdall/database/app.sqlite \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user