Skip to content

Instantly share code, notes, and snippets.

@mrstebo
Created June 2, 2020 12:46
Show Gist options
  • Select an option

  • Save mrstebo/aa5a50d1c953fe94a896b06f666bf066 to your computer and use it in GitHub Desktop.

Select an option

Save mrstebo/aa5a50d1c953fe94a896b06f666bf066 to your computer and use it in GitHub Desktop.
ruby-rails-postgresql-using-docker-compose-1
default: &default
adapter: postgresql
pool: 5
username: postgres
host: db
development:
<<: *default
database: my-awesome-app_development
test:
<<: *default
database: my-awesome-app_test
production:
<<: *default
url: <%= ENV['DATABASE_URL'] %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment