Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
updated dn connection for pgAdmin
Browse files Browse the repository at this point in the history
  • Loading branch information
litzenberger committed Aug 1, 2017
1 parent 69e8084 commit d00e81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -116,7 +116,7 @@ npm run pg:load-test-data
### pgAdmin database access
As the Postgresql docker container has its 5432 port forwarded on the local machine the database can be accessed with pgAdmin.

To access the database using the pgAdmin you have to fill in also the container IP beside the database names and access credentials. The container IP can be seen with `docker inspect $CID | grep IPAddress | cut -d '"' -f 4`. Use postgres as Username/password.
To access the database using the pgAdmin you have to fill in also the container IP beside the database names and access credentials. The container IP can be seen with `docker ps`. Use IP 127.0.0.1 and use postgres as username/password to connect to database server.

### Migrations
We use [`postgrator`][postgrator] for database migrations. You can find the sql files in the [`database/migrations`](/database/migrations) folder. To run the migrations manually:
Expand Down

0 comments on commit d00e81f

Please sign in to comment.