This container uses the official Apache Tomcat Docker image (tomcat:7) and OpenClinica.
10K+
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/
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.
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.
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.
docker run --name=tmf-oc-data -v /tomcat/openclinica.data "tmfev/openclinica" true
git clone https://github.com/tmfev/openclinica.git OpenClinica
cd OpenClinica
Edit ".env.list" and set environment variables.
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"
http://localhost:81/OpenClinica
Note: Because of initializing OpenClinica, first start is slow - so please be patient.
The creation of this container image was supported by TMF e.V. A german description of OpenClinica is available via ToolPool Gesundheitsforschung right here. 
Content type
Image
Digest
Size
440.7 MB
Last updated
over 9 years ago
docker pull tmfev/openclinica