/ohdsi-contrib-docker

Dockerfiles for various OHDSI tools.

Primary LanguageShellCreative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

OHDSI

OHDSI Dockerfiles

The respository contains Dockerfiles to set up the various OHDSI tools.

WebAPI

The OHDSI WebAPI contains all OHDSI services that can be called from OHDSI applications.

Quickstart

Use the following command to spin up the WebAPI. Make sure to change the values of the environment variables as needed.

docker run \
  --name ohdsi-webapi \
  -p 8080:8080 \
  -e "DBHOST=docker.for.mac.host.internal" \
  -e "DBNAME=cdm" \
  -e "DBUSER=postgres" \
  -e "DBPASS=s3cret" \
  -e "DBADMINUSER=postgres" \
  -e "DBADMINPASS=s3cret" \
  -e "DBCDMSCHEMA=public" \
  -e "DBWEBAPISCHEMA=webapi" \
  uwcarg/ohdsi-webapi:2.3.0-postgres

💡 docker.for.mac.host.internal is a magic constant in Docker for macOS that points to the IP address of the host machine.

Test

Navigate to the following URLS to test:

README ≫

License

CC BY-SA