ohif-viewer/docker/Nginx-Orthanc/docker-compose-orthanc.yml

40 lines
865 B
YAML
Raw Normal View History

2019-05-01 22:37:53 +02:00
# docker-compose:
# https://docs.docker.com/compose/overview/
2019-04-24 20:14:26 +02:00
version: '3.5'
services:
orthanc:
container_name: orthanc
image: jodogne/orthanc-plugins
volumes:
- ../sampledata:/sampledata
ports:
- '4242:4242'
- '8042:8042'
2019-04-24 20:14:26 +02:00
restart: always
viewer:
container_name: ohif-viewer
build:
2019-05-01 22:37:53 +02:00
# Up to the root directory
2019-04-24 20:14:26 +02:00
context: ../
2019-05-01 22:37:53 +02:00
# Use our dockerfile to build the viewer
dockerfile: dockerfile
2019-04-24 20:14:26 +02:00
ports:
- '80:80'
depends_on:
- orthanc
environment:
- NODE_ENV=production
2019-05-01 22:37:53 +02:00
- REACT_APP_CONFIG=config/local_orthanc.js
2019-04-24 20:14:26 +02:00
restart: always
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