ohif-viewer/docker/OpenResty-Orthanc-Keycloak
2019-05-09 13:31:42 -04:00
..
config Commit our secret 2019-05-09 11:08:14 -04:00
volumes/keycloak-themes/ohif Set a default custom theme for OHIF login 2019-05-09 08:59:34 -04:00
.dockerignore Local docker-ignore file 2019-05-08 13:07:50 -04:00
.env Shuffle files around 2019-05-09 13:31:42 -04:00
docker-compose.yml Persist our orthanc data 2019-05-09 12:07:15 -04:00
dockerfile Switch everything to use the OHIF realm; we can't seed the master realm, because it already exists. 2019-05-09 10:43:59 -04:00
README.md Switch everything to use the OHIF realm; we can't seed the master realm, because it already exists. 2019-05-09 10:43:59 -04:00

Guide

Build docker container using:

  • Build: docker build -t authproxy .
  • Tag: docker tag authproxy:latest authproxy:staging

Start your docker container, and volume mount the directory containing the nginx-keycloak.conf configuration file. We also mount the current directory under /usr/share/nginx/html so any html files in the current directory will be hosted behind the authenticating proxy. Finally, we mapped port 80 on the host to port 80 in the container.

docker run -d -it -p 80:80 -v $PWD/:/config -v /:/usr/share/nginx/html authproxy -c /config/nginx.conf docker run -d -it -p 80:80 -v /:/config -v /:/usr/share/nginx/html authproxy -c /config/nginx-keycloak.conf

Orthanc

Keycloak

Setup

Library we use to manage OpenID-Connect implicit flow: https://github.com/maxmantz/redux-oidc

  • Set admin user/pass in docker-compose
  • What are realms?