Last active
November 4, 2020 18:50
-
-
Save omerkoseoglu/15d82111e511c51c9845bd1abdf7922c to your computer and use it in GitHub Desktop.
Postgresql 12.4 docker
This file contains hidden or 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
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