![]() ![]() Use docker-compose up to start the services: docker-compose upģ. Login to admin: admin after running docker-compose upĬreate docker-compose.yaml version: '3.1'.Docker Compose can link an existing dpage/pgadmin4 image from Docker Hub to cmihai/postgis.PGAdmin4 is a web based PostgreSQL Administration and SQL Development environment.Composing multiple images with docker compose Push the Dockerfile, README and docker-compose.yaml examples to githubĭocker tag cmihai/postgis $DOCKER_ID_USER/my_imageĢ.Tag the image with a namespace (the one used on Docker Hub): cmihai.Turn the Dockerfile into a usable image using docker build.Postgresql-10-postgis-2.4 postgresql-10-postgis-2.4-scripts postgresql-contrib ![]() RUN apt-get install -no-install-recommends -yes \ Use docker build to create the image, then push it to docker hub.Ĭreating the Dockerfile # Extend exiting PostreSQL 10 Debian image:.Use apt-get to install required PostGIS extensions.Start by extending an existing PostgreSQL 10 Debian image: FROM postgres:10.A Dockerfile contains instructions to build an image.Use PGAdmin4 to create a database an enable Geospacial extensions.Create a Geospacial Database environment in Docker Compose with PostGIS and PGAdmin4. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |