soldevelo/postgresql

By soldevelo

Updated 9 days ago

PostgreSQL by SolDevelo, a maintained fork of the Bitnami PostgreSQL image.

Image
Security
Integration & delivery
Databases & storage
2

1.5K

soldevelo/postgresql repository overview

PostgreSQL packaged by SolDevelo

PostgreSQL is a powerful, open-source object-relational database system with over 35 years of active development.

This Docker image is maintained by SolDevelo and is based on the Bitnami PostgreSQL container.

TL;DR

docker run --name postgresql -e ALLOW_EMPTY_PASSWORD=yes docker.io/soldevelo/postgresql:latest

Using Docker Compose:

curl -sSL https://raw.githubusercontent.com/soldevelo/containers/main/soldevelo/postgresql/18/debian-12/docker-compose.yml > docker-compose.yml
docker compose up -d

Why SolDevelo images?

SolDevelo images are built on top of Bitnami's work, providing the same security-focused, non-root container approach while being maintained and published by SolDevelo for its infrastructure needs.

Get this image

docker pull docker.io/soldevelo/postgresql:latest

Or build it yourself:

git clone https://github.com/soldevelo/containers.git
cd containers/soldevelo/postgresql/18/debian-12
docker build -t soldevelo/postgresql:latest .

Non-root container

This image runs as a non-root user (UID 1001), following the same security model as Bitnami images.

Using docker-compose

curl -sSL https://raw.githubusercontent.com/soldevelo/containers/main/soldevelo/postgresql/18/debian-12/docker-compose.yml > docker-compose.yml
docker compose up -d

Environment variables

NameDescriptionDefault
ALLOW_EMPTY_PASSWORDAllow access without a password (dev only)no
POSTGRESQL_USERNAMEPostgreSQL admin usernamepostgres
POSTGRESQL_PASSWORDPostgreSQL admin passwordnil
POSTGRESQL_DATABASEDatabase to create on first bootnil
POSTGRESQL_PORT_NUMBERPostgreSQL server port5432
POSTGRESQL_POSTGRES_PASSWORDPassword for the postgres superusernil
POSTGRESQL_REPLICATION_MODEReplication mode (master or slave)nil
POSTGRESQL_REPLICATION_USERPostgreSQL replication usernil
POSTGRESQL_REPLICATION_PASSWORDPassword for the replication usernil
POSTGRESQL_INITDB_ARGSExtra arguments for initdbnil

Logging

The PostgreSQL container sends logs to stdout/stderr. Use docker logs or your log aggregation solution to collect them.

License

Apache-2.0. Based on Bitnami PostgreSQL © Broadcom, Inc.

Tag summary

Content type

Image

Digest

sha256:914b9e2e3

Size

112.9 MB

Last updated

9 days ago

docker pull soldevelo/postgresql