Skip to content

Suyama-Daichi/PostgreSQL15_bigm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostgreSQL15_bigm

What's this ?

公式イメージのPostgreSQL 15に pg_bigm v1.2 をインストールしたDocker Imageです。

symdit/postgresql15-bigm - Docker Hub

How to use

docker pull symdit/postgresql15-bigm

create docker-compose.yml file like this

version: '3.9'

services:
  db:
    image: symdit/postgresql15-bigm
    restart: always
    container_name: postgresql15-bigm
    ports:
      - '5433:5432'
    volumes:
      - ./script:/docker-entrypoint-initdb.d
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: tests
      PGDATA: /var/lib/postgresql/data/pgdata
docker-compose up -d

コンテナ立ち上げ後にSQLを実行する

script配下にsqlファイルを置くと、コンテナ立ち上げ後に任意のSQLを実行することができます。

About

公式イメージのPostgreSQL 15に pg_bigm v1.2 をインストールしたDocker Image

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published