Git Product home page Git Product logo

ohif-orthanc-pacs's Introduction

M A P D R (Hyper4Saken) ๐Ÿค˜

MAPDR

OHIF v3 with Orthanc(PostgresDB) with Authentik for Auth and Nginx Proxy Manager for Proxy

Intro:

๐Ÿฉป Ohif v3: (OHIF) Viewer is an open source, web-based, medical imaging platform.

๐Ÿ“€ Orthanc: Its free and open-source, lightweight DICOM server for medical imaging.

๐Ÿ˜ PostgreSQL: It is a powerful open-source relational database management system known for its reliability, extensibility, and advanced features.

๐Ÿ” Authentik: It is an open-source authentication and authorization server that provides secure access control and identity management for web applications.

๐ŸŒ Nginx Proxy Manager: It is a simple yet powerful web-based tool for managing Nginx proxy servers, enabling easy configuration and management of reverse proxies and SSL/TLS termination.


๐Ÿค” Want to know how it looks like. Here is the Demo Video

DEMO VIDEO

Create new docker network proxy

docker network create proxy

Clone This Repo

git clone https://github.com/hyper4saken/ohif-orthanc.git
cd ohif-orthanc-pacs

File Structure

โ”œโ”€โ”€ authentik
โ”‚ย ย  โ”œโ”€โ”€ certs
โ”‚ย ย  โ”œโ”€โ”€ custom-templates
โ”‚ย ย  โ”œโ”€โ”€ database
โ”‚ย ย  โ”œโ”€โ”€ media
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ public
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ favicon.svg
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ flow-backgrounds
โ”‚ย ย  โ”‚ย ย      โ”‚ย ย  โ””โ”€โ”€ star-wars-poster-4k-af-1920x1080.jpg
โ”‚ย ย  โ”‚ย ย      โ””โ”€โ”€ logo.png
โ”‚ย ย  โ””โ”€โ”€ redis
โ”œโ”€โ”€ docker-compose.yml
โ”œโ”€โ”€ ohif
โ”‚ย ย  โ”œโ”€โ”€ config
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ logo.png
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ ohif.js
โ”‚ย ย  โ””โ”€โ”€ nginx
โ”‚ย ย      โ”œโ”€โ”€ default-ohif-nginx.conf
โ”‚ย ย      โ””โ”€โ”€ ohif-nginx.conf
โ”œโ”€โ”€ orthanc
โ”‚ย ย  โ”œโ”€โ”€ config
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ orthanc.json
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ postgresql.json
โ”‚ย ย  โ”œโ”€โ”€ database
โ”‚ย ย  โ””โ”€โ”€ dicomImages
โ”œโ”€โ”€ proxy
โ””โ”€โ”€ README.md

Set .env variable for Authentik

echo "PG_PASS=$(openssl rand 36 | base64)" >> .env
echo "AUTHENTIK_SECRET_KEY=$(openssl rand 60 | base64)" >> .env

Set Orthanc UserName & Password

Use you favourite text editor

nvim ./orthanc/config/orthanc.json
   "AuthenticationEnabled": true,
  "RegisteredUsers": {
    "hyper": "mapdr"
  },

Create generate the base64-encoded string

echo -n 'hyper:mapdr' | base64.
aHlwZXI6bWFwZHI=

Update Nginx config for Ohif to pass http auth for accessing Orthanc

Edit Nginx reverse proxy

nvim ./ohif/nginx/ohif.conf

and paste base64-encoded user name and password

proxy_set_header Authorization "Basic aHlwZXI6bWFwZHI=";  # Replace with base64-encoded credentials

Whenever you access OHIF it won't ask for Orthanc auth and password.

Spin up containers

docker-compose up -d

ohif-orthanc-pacs's People

Contributors

hyper4saken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.