Skip to content

Instantly share code, notes, and snippets.

@omerkoseoglu
Last active November 4, 2020 18:50
Show Gist options
  • Save omerkoseoglu/15d82111e511c51c9845bd1abdf7922c to your computer and use it in GitHub Desktop.
Save omerkoseoglu/15d82111e511c51c9845bd1abdf7922c to your computer and use it in GitHub Desktop.
Postgresql 12.4 docker
docker run --name postgres -e POSTGRES_PASSWORD=1234567 -d -p 5432:5432 -v /Users/omer/postgresql/data:/var/lib/postgresql/data -e PGDATA=/var/lib/postgresql/data/pgdata postgres:12.4
docker exec -it postgres /bin/sh
apt-get update
apt-get -y install python3 postgresql-plpython3-12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment