Created
June 27, 2019 23:52
-
-
Save alexandreramosdev/e985981774f393e1ae65d6ce7c0ad8e2 to your computer and use it in GitHub Desktop.
Docker script Postgres
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
| docker run \ | |
| --name postgres \ | |
| -e POSTGRES_USER=alexandreramos \ | |
| -e POSTGRES_PASSWORD=minhasenhasecreta \ | |
| -e POSTGRES_DB=heroes \ | |
| -p 5432:5432 \ | |
| -d \ | |
| postgres | |
| docker run \ | |
| --name adminer \ | |
| -p 8080:8080 \ | |
| --link postgres:postgres \ | |
| -d \ | |
| adminer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment