mirror of
				https://github.com/linuxserver/docker-heimdall.git
				synced 2025-10-31 21:17:39 +09:00 
			
		
		
		
	make searchproviders.yaml use configurable
This commit is contained in:
		| @@ -240,6 +240,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 | |||||||
|  |  | ||||||
| ## Versions | ## Versions | ||||||
|  |  | ||||||
|  | * **13.03.21:** - Make searchproviders.yaml user configurable. | ||||||
| * **11.03.21:** - Rebase to alpine 3.14. | * **11.03.21:** - Rebase to alpine 3.14. | ||||||
| * **10.02.21:** - Revert to alpine 3.12 as php 7.4 broke laravel. | * **10.02.21:** - Revert to alpine 3.12 as php 7.4 broke laravel. | ||||||
| * **10.02.21:** - Rebasing to alpine 3.13. | * **10.02.21:** - Rebasing to alpine 3.13. | ||||||
|   | |||||||
| @@ -49,6 +49,7 @@ app_setup_block: | | |||||||
|  |  | ||||||
| # changelog | # changelog | ||||||
| changelogs: | changelogs: | ||||||
|  |   - { date: "13.03.21:", desc: "Make searchproviders.yaml user configurable." } | ||||||
|   - { date: "11.03.21:", desc: "Rebase to alpine 3.14." } |   - { date: "11.03.21:", desc: "Rebase to alpine 3.14." } | ||||||
|   - { date: "10.02.21:", desc: "Revert to alpine 3.12 as php 7.4 broke laravel." } |   - { date: "10.02.21:", desc: "Revert to alpine 3.12 as php 7.4 broke laravel." } | ||||||
|   - { date: "10.02.21:", desc: "Rebasing to alpine 3.13." } |   - { date: "10.02.21:", desc: "Rebasing to alpine 3.13." } | ||||||
|   | |||||||
| @@ -15,6 +15,7 @@ mkdir -p \ | |||||||
|  echo -e '\n# Heimdall user authorization\nfastcgi_param  PHP_AUTH_USER $remote_user;\nfastcgi_param  PHP_AUTH_PW $http_authorization;' >> \ |  echo -e '\n# Heimdall user authorization\nfastcgi_param  PHP_AUTH_USER $remote_user;\nfastcgi_param  PHP_AUTH_PW $http_authorization;' >> \ | ||||||
| 	/etc/nginx/fastcgi_params && \ | 	/etc/nginx/fastcgi_params && \ | ||||||
|  rm -rf /heimdall && \ |  rm -rf /heimdall && \ | ||||||
|  |  cp /var/www/localhost/heimdall/app/searchproviders.yaml /var/www/localhost/heimdall/app/searchproviders.yaml.orig && \ | ||||||
|  chown -R abc:abc /var/www/localhost/heimdall |  chown -R abc:abc /var/www/localhost/heimdall | ||||||
|  |  | ||||||
| # create symlinks | # create symlinks | ||||||
| @@ -43,6 +44,11 @@ done | |||||||
|   cp /var/www/localhost/heimdall/.env.example /config/www/.env && \ |   cp /var/www/localhost/heimdall/.env.example /config/www/.env && \ | ||||||
|   echo "Creating app key. This may take a while on slower systems" && \ |   echo "Creating app key. This may take a while on slower systems" && \ | ||||||
|   php /var/www/localhost/heimdall/artisan key:generate |   php /var/www/localhost/heimdall/artisan key:generate | ||||||
|  | # copy searchproviders if not exists and symlink | ||||||
|  | [[ ! -f /config/www/searchproviders.yaml ]] && \ | ||||||
|  |   cp /var/www/localhost/heimdall/app/searchproviders.yaml.orig /config/www/searchproviders.yaml | ||||||
|  | rm -rf /var/www/localhost/heimdall/app/searchproviders.yaml | ||||||
|  | ln -s /config/www/searchproviders.yaml /var/www/localhost/heimdall/app/searchproviders.yaml | ||||||
| # set queue driver to database | # set queue driver to database | ||||||
| sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env | sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user