Skip to content

sxbrsky/docker-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postgres

Quick reference

Supported tags and respective Dockerfile links

All supported tags see here

How to use this image

start a postgres instance

$ docker run --name postgres -d sxbrsky/postgres

Example docker-compose.yml for postgres:

version: '3.1'

services:
    postgres:
        image: sxbrsky/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.