/postgres

PostgreSQL docker image

Primary LanguageMakefile

Version v1.2.2 PostgreSQL v14

Conventional Commits

Docker 20.10

example workflow

PostgreSQL docker image

git clone ssh://git@github.com/klimby/postgres.git

cd postgres

npm install

PostgreSQL docker image with ru_RU.UTF-8 locale.

Docker hub

Docker Hub Repository.

docker push klimby/postgres:14

Docker compose example

&postgres postgres:
    image: klimby/postgres:latest
    container_name: postgres
    hostname: *postgres
    ports: ["54330:5432"]
    environment:
      - POSTGRES_DB=test
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      - LANG=ru_RU.UTF-8
    command: postgres -c 'config_file=/etc/postgresql/postgresql.conf' // for custom postgresql.conf
    volumes:
      - ./pgdata:/var/lib/postgresql/data
      - ./conf/postgresql.conf:/etc/postgresql/postgresql.conf // for custom postgresql.conf
    networks:
      - pg