Skip to content
Snippets Groups Projects
Commit 7d1d6ae8 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

use env vars for production database settings

parent 9f455bc9
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,6 @@ test: ...@@ -15,6 +15,6 @@ test:
production: production:
<<: *default <<: *default
database: portalmec_production database: <%= ENV['PORTALMEC_DB_NAME'] %>
username: portalmec username: <%= ENV['PORTALMEC_DB_USERNAME'] %>
password: <%= ENV['PORTALMEC_DATABASE_PASSWORD'] %> password: <%= ENV['PORTALMEC_DB_PASSWORD'] %>
\ No newline at end of file \ No newline at end of file
...@@ -13,8 +13,8 @@ test: ...@@ -13,8 +13,8 @@ test:
port: 2480 port: 2480
production: production:
host: <%= ENV['ORIENTDB_HOST'] %> host: <%= ENV['PORTALMEC_ORIENTDB_HOST'] %>
database: <%= ENV['ORIENTDB_DATABASE'] %> database: <%= ENV['PORTALMEC_ORIENTDB_DATABASE'] %>
username: <%= ENV['ORIENTDB_USERNAME'] %> username: <%= ENV['PORTALMEC_ORIENTDB_USERNAME'] %>
password: <%= ENV['ORIENTDB_PASSWD'] %> password: <%= ENV['PORTALMEC_ORIENTDB_PASSWD'] %>
port: <%= ENV['ORIENTDB_PORT'] %> port: <%= ENV['PORTALMEC_ORIENTDB_PORT'] %>
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment