parent
e132593ce7
commit
4e8f18a30b
@ -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