Skip to content
samatstarion edited this page Aug 16, 2024 · 9 revisions

cdp4-database-community-edition

The cdp4-database-community-edition docker image is used to host production CDP4-COMET data.

Create and Push

  1. Create the docker image
DOCKER_BUILDKIT=1 docker build -f Dockerfile -t stariongroup/cdp4-database-community-edition:2.1.0 .
  1. Push the docker image to Docker Hub
docker push stariongroup/cdp4-database-community-edition:2.1.0

Please note we no longer provide a latest docker tag, we want our users to be specific about which database container to use.

Run the image

Run the image

docker run -e POSTGRES_PASSWORD=postgres -p 5432:5432 -it -d --name cdp4-database-community-edition --net cdp4 stariongroup/cdp4-database-community-edition:2.1.0

cdp4-test-database-community-edition

The cdp4-test-database-community-edition docker image is the image used to run the ECSS-E-TM-10-25 Annex C integration tests. This image is based on the official PostgreSQL image postgres:16-alpine

Create and Push

  1. Create the docker image
DOCKER_BUILDKIT=1 docker build -f Dockerfile -t stariongroup/cdp4-test-database-community-edition:3.4.0 .
  1. Push the docker image to Docker Hub
docker push stariongroup/cdp4-test-database-community-edition:3.4.0

Please note we no longer provide a latest docker tag, we want our users to be specific about which database container to use.

Run the image

Run the image, note that the data is stored to a temporary file system for improved test performance

docker run -e POSTGRES_PASSWORD=postgres -p 5432:5432 --tmpfs /var/lib/postgresql/data:rw -it -d --name cdp4-test-database-community-edition --net cdp4-comet stariongroup/cdp4-test-database-community-edition:3.4.0

Once the database and webservices docker image are running, the test Annex C3 zip archive needs to be posted.

curl --form file=@"Data.zip" http://localhost:5000/Data/Exchange

Once the Annex C3 archive is posted and the test data is loaded the integration test suite can be executed