Initial commit
This commit is contained in:
17
config/influxdb.yml
Normal file
17
config/influxdb.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
default: &default
|
||||
host: <%= ENV.fetch("INFLUXDB_HOST", "127.0.0.1").split(',') %>
|
||||
port: <%= ENV.fetch("INFLUXDB_PORT", 8086) %>
|
||||
username: <%= ENV.fetch("INFLUXDB_USER", "root") %>
|
||||
password: <%= ENV.fetch("INFLUXDB_PASS", "root") %>
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
database: peatio_development
|
||||
|
||||
test:
|
||||
<<: *default
|
||||
database: peatio_test
|
||||
|
||||
production:
|
||||
<<: *default
|
||||
database: <%= ENV.fetch('INFLUXDB_DATABASE_NAME', "peatio_production") %>
|
||||
Reference in New Issue
Block a user