Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.42 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.42 KB

Postgres Docker Image with Bingo Chemistry search engine

This repository contains a Docker image for a PostgreSQL database extended with the Bingo chemistry cartridge.

Overview

The Bingo Postgres Docker image provides a PostgreSQL database with the Bingo chemistry cartridge pre-installed. This setup is ideal for applications that require advanced chemical structure searching and indexing capabilities.

Usage

To use this Docker image, you can pull it from the Docker registry or build it locally.

Pull from Docker Registry

docker pull quay.io/massbank/postgres-bingo:latest

Build Locally

Clone this repository and build the Docker image:

git clone https://github.com/MassBank/postgres-bingo.git
cd postgres-bingo
docker build -t postgres-bingo:latest .

Running the Container

To run a container using this image:

$ docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d quay.io/massbank/postgres-bingo

Initialization Scripts

This image supports initialization scripts located in the /docker-entrypoint-initdb.d/ directory like normal postgres images. The bing specific init scripts are integrated in the image and located in /opt/bingo-postgres/init-scripts/. The ENTRYPOINT script is modified to automatically execute this script.

License

This project is licensed under the MIT License. See the LICENSE file for details.