Created
January 4, 2022 14:47
-
-
Save mymindwentblvnk/57aca60e222fc514a500290efffde962 to your computer and use it in GitHub Desktop.
Spin Up a Local Postgres
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
mkdir ${HOME}/postgres-data/ | |
docker run -d --name postgres -e POSTGRES_PASSWORD=postgres -v ${HOME}/postgres-data/:/var/lib/postgresql/data -p 5432:5432 postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment