Created
May 7, 2020 18:36
-
-
Save pedryvo/f8708fc4972804139390d5e97386e3a6 to your computer and use it in GitHub Desktop.
Postgres container for Rails app
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
docker run --name postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -p 5432:5432 -d postgres | |
------------------- | |
development: | |
<<: &default | |
adapter: postgresql | |
encoding: unicode | |
database: anything_development | |
username: postgres | |
password: postgres | |
host: localhost | |
port: 5432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment