Skip to content

grmvoid/docker-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Postgres Docker Container Image

A lightweight Postgres container image based on Alpine Linux, building with the Clang and LLVM.

Quick reference

Usage

Pull the Image

To get started, pull the specify a version Postgres image:

  docker pull grmvoid/postgres:17.2

Running a Container

You can run the Postgres container using the following command:

  docker run --name postgres grmvoid/postgres:17.2

Running via docker-compose

Example docker-compose.yml for postgres:

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

Sponsor this project