A lightweight Postgres container image based on Alpine Linux, building with the Clang and LLVM.
- Image based on: alpine
- Supported architectures:
linux/amd64,linux/arm64 - Maintained by: grmvoid
- Issues: https://github.com/grmvoid/docker-postgres/issues
To get started, pull the specify a version Postgres image:
docker pull grmvoid/postgres:17.2You can run the Postgres container using the following command:
docker run --name postgres grmvoid/postgres:17.2Running via docker-compose
Example docker-compose.yml for postgres:
services:
postgres:
image: grmvoid/postgres:17.2
restart: always
ports:
- "5432:5432"The postgres image uses several environment variables which are easy to miss.
| Variable | Default Value | Description |
|---|---|---|
PGDATA |
View Postgres License information for the software contained in this image. Individual dependencies may have their own licensing terms.
Additionally, the contents of this repository are licensed under the MIT License.