Skip to content

nuldark/docker-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postgres Docker Container Images

Supported tags and respective Dockerfile links

Quick reference

How to use this image

start a postgres instance

$ docker run --name some-postgres -d postgres

Example docker-compose.yml for postgres:

version: '3.1'

services:
    postgres:
        image: nuldark/postgres:latest
        restart: always
        ports:
            - "5432:5432"

Environment Variables

The postgres image uses several environment variables which are easy to miss.

Variable Default Value Description
PGDATA

LICENSE

View license information for the software contained in this image.