Sign inSign up

tmfev/openclinica

By tmfev

•Updated over 9 years ago

This container uses the official Apache Tomcat Docker image (tomcat:7) and OpenClinica.

Image
6

10K+

tmfev/openclinica repository overview

⁠Supported tags

⁠OpenClinica

OpenClinica is an open source software for Electronic Data Capture (EDC) for clinical research. OpenClinica is a trademark of OpenClinica, LLC. The OpenClinica Trademark Policy can accessed here https://www.openclinica.com/trademark-policy/⁠ and the Terms of Use can accessed here https://www.openclinica.com/terms-of-use/⁠

⁠HOWTO

⁠Start postgres persistent data folder
docker run --name oc-db-data -v /var/lib/postgresql/data postgres:9.5 true

Note: Postgres:latest (9.6.) currently doesn't work with OpenClinica.

⁠Start postgres using the persistent data folder
docker run --name=oc-db -d --volumes-from oc-db-data -e POSTGRES_PASSWORD=POSTGRESSPASSWORDCHANGEME -p 5432:5432 postgres:9.5

Note: The port mapping is optional. Note: Because of a Bug in run.sh (docker build), currently only container name "oc-db" works.

⁠Initialize postgres
docker exec oc-db su postgres -c $'psql -c "CREATE ROLE clinica LOGIN ENCRYPTED PASSWORD \'clinica\' SUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE" && psql -c "CREATE DATABASE openclinica WITH ENCODING=\'UTF8\' OWNER=clinica" && echo "host all  clinica    0.0.0.0/0  md5" >> $PGDATA/pg_hba.conf && /usr/lib/postgresql/$PG_MAJOR/bin/pg_ctl reload -D $PGDATA'

Note: Change the password 'clinica' if you like.

⁠Start tmfev/openclinica persistent data folder
docker run --name=tmf-oc-data -v /tomcat/openclinica.data "tmfev/openclinica" true
⁠Pull additional files and setup environment variables
git clone https://github.com/tmfev/openclinica.git OpenClinica
cd OpenClinica

Edit ".env.list" and set environment variables.

⁠Start tmfev/openclinica using the persistent data folder
docker run --name=tmf-oc -h tmf-oc -d --volumes-from tmf-oc-data -p 81:8080 --env-file ./.env.list --link=oc-db:oc-db "tmfev/openclinica"
⁠Access OpenClinica
http://localhost:81/OpenClinica

Note: Because of initializing OpenClinica, first start is slow - so please be patient.

⁠Acknowledgment

The creation of this container image was supported by TMF e.V.⁠ A german description of OpenClinica is available via ToolPool Gesundheitsforschung⁠ right here⁠. ![Logo ToolPool Gesundheitsforschung powered by TMF e.V.](https://www.toolpool-gesundheitsforschung.de/themes/custom/tmf/assets/img/toolpool_logo.svg⁠ "Logo ToolPool Gesundheitsforschung powered by TMF e.V." height="50")

Tag summary

Content type

Image

Digest

Size

440.7 MB

Last updated

over 9 years ago

docker pull tmfev/openclinica