Black Duck implementation of postgresql image for use with Black Duck application.
The docker container for this project can be built with the command
docker build --pull -t blackducksoftware/blackduck-postgres:${version} .
replacing ${version}
with the version you'd like to build locally
Black Duck requires multiple databases within Postgres, which are created in one of two ways:
- The main application database,
bds_hub
, is created via thePOSTGRES_DB
environment variable and behavior defined in the base postgres container (specified within theDockerfile
) - Additional databases are setup via SQL scripts such as
1-hub-setup.sql
and similar