Created
May 24, 2021 04:07
-
-
Save jpawlyn/b26579127251f806a0f9c1df687e9297 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
encoding: utf8 | |
adapter: mysql2 | |
port: <%= ENV['MYGEM_DATABASE_PORT'] %> | |
host: <%= ENV['MYGEM_DATABASE_HOST'] %> | |
username: <%= ENV['MYGEM_DATABASE_USERNAME'] %> | |
password: <%= ENV['MYGEM_DATABASE_PASSWORD'] %> | |
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> | |
development: | |
mygem_db_key_1: | |
<<: *default | |
database: mygem_database_1 | |
mygem_db_key_2: | |
<<: *default | |
database: mygem_database_2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment