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.
- Docker Engine version 17.05 or newer
- Docker Compose version 1.20.0 or newer
- 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
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]'
- 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
POSTGRES_DB
the default value is mobilitydbPOSTGRES_USER
the default value is dockerPOSTGRES_PASSWORD
the default value is docker
- Host name/address
localhost
- Port
25432
- Username as
POSTGRES_USER
, by default:docker
- Password as
POSTGRES_PASSWORD
, by defaultdocker