Skip to content

Instantly share code, notes, and snippets.

@Fadhil
Created March 10, 2021 02:40
Show Gist options
  • Save Fadhil/56de67dd2152eb9865db62b30193fedf to your computer and use it in GitHub Desktop.
Save Fadhil/56de67dd2152eb9865db62b30193fedf to your computer and use it in GitHub Desktop.
Sets password, port forwarding, local folder sync and some kind of extra connections directive
docker run --name platform-pg-11 --restart unless-stopped -e POSTGRES_PASSWORD=password -p 127.0.0.1:5432:5432 -v ~/Magic/docker/data/platform-test:/var/lib/postgresql/data -d postgres:11 -N 500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment