adding docker-compose readme and fixing docker-compose context
This commit is contained in:
parent
af9ee3664f
commit
06e754834f
13
docker/README.md
Normal file
13
docker/README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Docker compose files
|
||||||
|
|
||||||
|
This folder contains docker-compose files used to spin up OHIF-Viewer with differnt options such as locally or with any PAS you desire to
|
||||||
|
|
||||||
|
## Public Server
|
||||||
|
#### build
|
||||||
|
|
||||||
|
`$ docker-compose -f docker-compose-publicserver.yml build`
|
||||||
|
|
||||||
|
#### run
|
||||||
|
`$ docker-compose -f docker-compose-publicserver.yml up -d`
|
||||||
|
|
||||||
|
then, access the application at (http://localhost)[http://localhost]
|
||||||
@ -2,9 +2,11 @@ version: '3.5'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
Viewer:
|
viewer:
|
||||||
container_name: ohif-viewer
|
container_name: ohif-viewer
|
||||||
image: ohif/viewer:latest
|
build:
|
||||||
|
context: ../
|
||||||
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- '80:80'
|
- '80:80'
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user