mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] fix usage of docker environment variable INSTANCE_NAME
INSTANCE_NAME was ignored. close #65
This commit is contained in:
		
							parent
							
								
									332e3a2a09
								
							
						
					
					
						commit
						b46a3ecfc7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -68,7 +68,7 @@ patch_searx_settings() { | ||||||
| 
 | 
 | ||||||
|     # update settings.yml |     # update settings.yml | ||||||
|     sed -i -e "s|base_url : False|base_url : ${BASE_URL}|g" \ |     sed -i -e "s|base_url : False|base_url : ${BASE_URL}|g" \ | ||||||
|        -e "s/instance_name : \"searx\"/instance_name : \"${INSTANCE_NAME}\"/g" \ |        -e "s/instance_name : \"searxng\"/instance_name : \"${INSTANCE_NAME}\"/g" \ | ||||||
|        -e "s/autocomplete : \"\"/autocomplete : \"${AUTOCOMPLETE}\"/g" \ |        -e "s/autocomplete : \"\"/autocomplete : \"${AUTOCOMPLETE}\"/g" \ | ||||||
|        -e "s/ultrasecretkey/$(openssl rand -hex 32)/g" \ |        -e "s/ultrasecretkey/$(openssl rand -hex 32)/g" \ | ||||||
|        "${CONF}" |        "${CONF}" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Alexandre Flament
						Alexandre Flament