Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 2.86 KB

README.md

File metadata and controls

75 lines (60 loc) · 2.86 KB

MobilityDB Docker

MobilityDB Logo

MobilityDB is an open source software program that adds support for temporal and spatio-temporal objects to the PostgreSQL object-relational database and its spatial extension PostGIS.

This is a repository to hold various Docker images for MobilityDB releases. The images are based on the official Postgres and Postgis docker images so the documentation for the images also applies here, including the environment variables one can set, extensibility, etc.

Requirements

Supported tags and respective Dockerfile links

  • Master branch of MobilityDB: mobilitydb/mobilitydb:11-2.5-master, mobilitydb/mobilitydb:13-2.5-master
  • Develop branch of MobilityDB: mobilitydb/mobilitydb:12-2.5-develop
  • MobilityDB v1.0beta: mobilitydb/mobilitydb:11-2.5-1.0beta
  • MobilityDB v1.0beta2: mobilitydb/mobilitydb:12-2.5-1.0beta2
  • MobilityDB v1.0beta3: mobilitydb/mobilitydb:13-2.5-1.0beta3
  • MobilityDB Workshop: mobilitydb/mobilitydb:12-2.5-develop-workshop
  • MobilityDB BerlinMOD: mobilitydb/mobilitydb:12-2.5-develop-berlinmod

Installation

Automated builds of the Docker image are available on Dockerhub.

docker pull mobilitydb/mobilitydb:[TAG]

Alternatively you can build the image locally.

docker build -t mobilitydb/mobilitydb 'https://github.com/MobilityDB/MobilityDB-docker.git#master:[TAG]'

Quick Start

  • Clone or download this repository
  • Go inside the required tag cd 12-2.5-develop
  • Run this command docker-compose up -d

Then, you can connect directly with psql if you have the PostgreSQL client tool on your machine:

psql -h localhost -p 25432 -d mobilitydb -U docker

Otherwise, connect with psql using the container:

  • Get the created container
     docker ps
    
  • Enter inside the container
     docker exec -it <container_name> bash
    
  • Connect with psql
     psql -d mobilitydb -U docker
    
    

Environment

  • POSTGRES_DB the default value is mobilitydb
  • POSTGRES_USER the default value is docker
  • POSTGRES_PASSWORD the default value is docker

Access to PgAdmin

  • Host name/address localhost
  • Port 25432
  • Username as POSTGRES_USER, by default: docker
  • Password as POSTGRES_PASSWORD, by default docker