Created
May 10, 2020 04:21
-
-
Save amitk/be49f317eac6f3b0e02d7d6f979ae331 to your computer and use it in GitHub Desktop.
connect to aws database from local environment in rails using database.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: &default | |
adapter: postgresql | |
database: bs_development | |
host: localhost | |
encoding: unicode | |
pool: 5 | |
stage: &stage-reactui | |
adapter: postgresql | |
database: bs_react_demo_apis_staging | |
user: username | |
password: password | |
host: host_name | |
pool: 50 | |
timeout: 5000 | |
port: 5432 | |
development: | |
<<: *stage-reactui | |
# database: brandscope_development | |
# database: brandscope_development | |
# Warning: The database defined as "test" will be erased and | |
# re-generated from your development database when you run "rake". | |
# Do not set this db to the same as development or production. | |
test: | |
<<: *default | |
database: bs_test | |
production: | |
database: bs_production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment