docker-compose note
This commit is contained in:
parent
efcdad7e67
commit
7c62466994
@ -1,3 +1,6 @@
|
|||||||
|
# docker-compose:
|
||||||
|
# https://docs.docker.com/compose/overview/
|
||||||
|
|
||||||
version: '3.5'
|
version: '3.5'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@ -13,15 +16,17 @@ services:
|
|||||||
viewer:
|
viewer:
|
||||||
container_name: ohif-viewer
|
container_name: ohif-viewer
|
||||||
build:
|
build:
|
||||||
|
# Up to the root directory
|
||||||
context: ../
|
context: ../
|
||||||
dockerfile: Dockerfile
|
# Use our dockerfile to build the viewer
|
||||||
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- '80:80'
|
- '80:80'
|
||||||
depends_on:
|
depends_on:
|
||||||
- orthanc
|
- orthanc
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- REACT_APP_CONFIG=config/local_orthanc
|
- REACT_APP_CONFIG=config/local_orthanc.js
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ../config/local_orthanc.js:/usr/share/nginx/html/servers.js
|
- ../config/local_orthanc.js:/usr/share/nginx/html/servers.js
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user