Created
January 24, 2022 18:04
-
-
Save kuccello/0f34e5d3650c2d0bc727beb5d7f2b759 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
docker run \ | |
-name local-app-postgres \ | |
-e POSTGRES_PASSWORD=sup3rs3cr3t \ | |
-e POSTGRES_USER=app_admin \ | |
-e POSTGRES_DB=app_db \ | |
-e PGDATA=/var/lib/postgresql/data/pgdata \ | |
-v $HOME/dev-volumes/app-db:/var/lib/postgresql/data \ | |
-p 11032:5432 \ | |
-d postgres:12.5-alpine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment