Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

docker file for breedbase postgresql instance

Notifications You must be signed in to change notification settings

TriticeaeToolbox/postgres_dockerfile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️    ARCHIVED    ⚠️
This repository is no longer used by the T3/Breedbase Docker instances.
T3/Breedbase now uses the official postgres Docker image for the database service.
For more information on running T3/Breedbase, see TriticeaeToolbox/breedbase


Build Status

postgres_dockerfile

Dockerfile for breeDBase Postgresql instance.

After the image has completed startup, you will have a base database with all the required schemas and data needed for an instance of Breedbase to connect to it, and run properly.

This image is based on the postgres Docker image (https://hub.docker.com/_/postgres)

Install docker (on Debian/Ubuntu)

For installing on Debian/Ubuntu:

apt-get install docker-ce

For Mac/Windows: Docker Desktop

Run the container

To run the image:

docker run -d --name breedbase_db -p 5432:5432 breedbase/pg:latest

Because this image is an extension of the postgres Docker image, you can pass in the environment variables defined by that image. You can also mount the data directory to the host for persistent storage:

-v /my/own/datadir:/var/lib/postgresql/data

Logistics

Database

The database itself is named breedbase and contains a number of schemas within it.

Default database username/password:

username: postgres
password: postgres

Clone the repo

git clone https://github.com/solgenomics/postgres_dockerfile

Build the image

docker build -t breedbase/pg:<tag> postgres_dockerfile

Replace <tag> with an identifier of your choosing

About

docker file for breedbase postgresql instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PLpgSQL 99.9%
  • Other 0.1%