2019-04-24 20:14:26 +02:00
|
|
|
version: '3.5'
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
orthanc:
|
|
|
|
|
container_name: orthanc
|
|
|
|
|
image: jodogne/orthanc-plugins
|
|
|
|
|
volumes:
|
|
|
|
|
- ../sampledata:/sampledata
|
|
|
|
|
ports:
|
2019-04-30 15:33:47 +02:00
|
|
|
- '4242:4242'
|
|
|
|
|
- '8042:8042'
|
2019-04-24 20:14:26 +02:00
|
|
|
restart: always
|
|
|
|
|
viewer:
|
|
|
|
|
container_name: ohif-viewer
|
|
|
|
|
build:
|
|
|
|
|
context: ../
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
ports:
|
|
|
|
|
- '80:80'
|
|
|
|
|
depends_on:
|
|
|
|
|
- orthanc
|
|
|
|
|
environment:
|
|
|
|
|
- NODE_ENV=production
|
2019-04-30 15:33:47 +02:00
|
|
|
- REACT_APP_CONFIG=config/local_orthanc
|
2019-04-24 20:14:26 +02:00
|
|
|
restart: always
|
2019-04-26 22:07:25 +02:00
|
|
|
volumes:
|
|
|
|
|
- ../config/local_orthanc.js:/usr/share/nginx/html/servers.js
|
2019-04-24 20:14:26 +02:00
|
|
|
proxy:
|
|
|
|
|
image: nginx
|
|
|
|
|
restart: always
|
|
|
|
|
ports:
|
|
|
|
|
- 8899:80
|
|
|
|
|
volumes:
|
|
|
|
|
- ./nginx-proxy/conf/nginx.conf:/etc/nginx/nginx.conf:ro
|