Sign inSign up

castimaging/datamart

By castimaging

Updated about 2 months ago

This image provides the Datamart scripts, a minimal Unix env, Python, and a PostgreSQL client.

Image
0

1.1K

castimaging/datamart repository overview

This image provides all the components required to run the Datamart, including the application scripts, a minimal Unix environment, the Python interpreter, and the PostgreSQL client. It is designed for use in integration pipelines, automated execution environments, or any system that requires PostgreSQL access for Datamart generation.

See the documentation & release notes

Pulling the Docker Image

You can pull the latest Datamart image from Docker Hub:

$ docker pull castimaging/datamart:latest

⚠️ Important: Before using the latest tag, check the compatibility matrix in the release notes to ensure that the Datamart version is compatible with your Dashboard release.

Starting an Interactive Session

⚠️ Warning: With docker restart, your run may end in error, because of pending processes of the previous run.

The 2 following running patterns should be applied to run Datamart scripts

Run Container with Detach Mode

This mode allows a diagnosis in case of error.

docker run -d --name datamart --env-file .env -t castimaging/datamart:latest tail -f /dev/null
docker exec -it datamart datamart.sh install
docker exec -it datamart datamart.sh refresh
Remove Container at exit

This mode allows to remove the container after execution.

docker run --rm --name datamart --env-file .env -t castimaging/datamart:latest datamart.sh install
docker run --rm --name datamart --env-file .env -t castimaging/datamart:latest datamart.sh refresh

Tag summary

Content type

Image

Digest

sha256:81204be59

Size

69.6 MB

Last updated

about 2 months ago

docker pull castimaging/datamart