Merge branch 'dev_aliyun' of http://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
	
		
	
				
					
				
			
						commit
						14300893f6
					
				| @ -0,0 +1,13 @@ | |||||||
|  | defaults: &defaults | ||||||
|  |   url: http://localhost:9200 | ||||||
|  | 
 | ||||||
|  | development: | ||||||
|  |   <<: *defaults | ||||||
|  | 
 | ||||||
|  | test: | ||||||
|  |   <<: *defaults | ||||||
|  | 
 | ||||||
|  | production: | ||||||
|  |   <<: *defaults | ||||||
|  |   url: 'http://elastic:Elas+ucloud123@106.75.27.125:59200/' | ||||||
|  |   # url: 'http://elastic:TEST_elastickibana321@es-cn-0pp174wsj000iubdx.public.elasticsearch.aliyuncs.com' | ||||||
| @ -0,0 +1,2 @@ | |||||||
|  | redis_config = Rails.application.config_for(:elasticsearch) | ||||||
|  | ENV['ELASTICSEARCH_URL'] = redis_config['url'] | ||||||
					Loading…
					
					
				
		Reference in new issue