This repository contains a Docker image for a PostgreSQL database extended with the Bingo chemistry cartridge.
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.
To use this Docker image, you can pull it from the Docker registry or build it locally.
docker pull quay.io/massbank/postgres-bingo:latestClone 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 .To run a container using this image:
$ docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d quay.io/massbank/postgres-bingoThis image supports initialization scripts located in the /docker-entrypoint-initdb.d/ directory like normal postgres images. The bingo 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.
There is a second container quay.io/massbank/postgres-bingo-init available, which can be used as init container in a K8s deployment. It holds the required files in /bingo-postgres.
This project is licensed under the MIT License. See the LICENSE file for details.