Skip to content

Instantly share code, notes, and snippets.

@mymindwentblvnk
Created January 4, 2022 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mymindwentblvnk/57aca60e222fc514a500290efffde962 to your computer and use it in GitHub Desktop.
Save mymindwentblvnk/57aca60e222fc514a500290efffde962 to your computer and use it in GitHub Desktop.
Spin Up a Local Postgres
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