Skip to content

About

PostgreSQL + PostGIS + TimescaleDB docker image πŸ˜πŸŒŽπŸ“ˆ

Topics

Resources

Stars

60 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

37 Commits

Folders and files

Repository files navigation

PostgreSQL-PostGIS-TimescaleDB

PostgreSQL + PostGIS + TimescaleDB ready-to-use docker image πŸ˜πŸŒŽπŸ“ˆ

Based on Alpine Linux.

Docker image with:

Current versions of components:

How to build:

$ docker build -t binakot/postgresql-postgis-timescaledb .

How to run:

$ docker run -d --name postgres -e POSTGRES_PASSWORD=postgres binakot/postgresql-postgis-timescaledb

Also you can run app stack with built docker image and pgAdmin4: docker-compose up.

PostgreSQL is running on port 5432.

PgAdmin will be available on localhost:5433 with credentials: admin@admin.com / admin.

Note: PostgreSQL 18+ stores data under /var/lib/postgresql (major-version subdirectory). The compose volume mounts that path.


Build multi-arch images

To publish a multi-arch image (amd64 + arm64) to Docker Hub:

$ docker buildx build \
    --platform linux/amd64,linux/arm64 \
    -t binakot/postgresql-postgis-timescaledb:latest \
    --push \
    .

Check the image architecture:

$ docker image inspect binakot/postgresql-postgis-timescaledb:arm64 \
    --format '{{.Architecture}}'

About

PostgreSQL + PostGIS + TimescaleDB docker image πŸ˜πŸŒŽπŸ“ˆ

Topics

Resources

Stars

60 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages