Docker Compose installation of Postgres 12.4, PostGIS, 3.0, PgAdmin
PostGIS Docker setup using docker-compose
Postgres, PostGIS, PgAdmin
How to setup PostGIS, Postgres and PgAdmin docker containers with persistent volumes?
For those of you who just want answers, here is the short answer and the prerequisites you must meet before running this single command. The requirements include installing Docker and docker-compose on your local machine. That's it, nothing else needed.
Now simply save this docker-compose.yml file (posted here below) locally and run the following command at in your local terminal:
docker-compose up -d
Now for some more details. The base image you are using comes from Kartoza/postgis and it can and should be tuned for your needs. The setup above is a quick start and not tuned for production environments. The PgAdmin container is also straight out of the box so use with care.
I hope this helped you. Until next time, happy coding.
Michael
Comments
Post a Comment