-
Image based on:
alpine -
Supported architectures:
linux/amd64
,linux/arm64
-
Maintained by:
sxbrsky -
Where to file issues:
https://github.com/sxbrsky/docker-postgres/issues
$ docker run --name postgres -d sxbrsky/postgres
... via docker-compose
Example docker-compose.yml
for postgres
:
version: '3.1'
services:
postgres:
image: sxbrsky/postgres:latest
restart: always
ports:
- "5432:5432"
The postgres image uses several environment variables which are easy to miss.
Variable | Default Value | Description |
---|---|---|
PGDATA |
View license information for the software contained in this image.