Skip to content

Instantly share code, notes, and snippets.

@ephraimduncan
Created April 9, 2023 11:34
Show Gist options
  • Save ephraimduncan/493b1fdedd6709372ec60644e7c2d7e8 to your computer and use it in GitHub Desktop.
Save ephraimduncan/493b1fdedd6709372ec60644e7c2d7e8 to your computer and use it in GitHub Desktop.
Run PostgreSQL DB in Docker
docker run --name postgres-db -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
@ephraimduncan
Copy link
Author

Connection String

postgres://postgres:docker@localhost:5432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment