Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Dockerfile for caMicroscope viewer. Includes Apache, PHP, IIPSrv and caMicroscope.

License

Notifications You must be signed in to change notification settings

camicroscope/ViewerDockerContainer

Repository files navigation

Camicroscope Viewer Container Build Status

  • Clone this repo

Make sure you're running the following commands from the directory that has DockerFile i.e. the root of the repository.

  • docker build -t camicroscope_viewer .

  • docker run -itd -p <PORT_NUMBER>:80 -v $(pwd)/html:/var/www/html -v <IMAGE_DIRECTORY>:/data/images camicroscope_viewer

The <IMAGE_DIRECTORY> is the same directory that you used for Camicroscope DataLoader

Linking the viewer to dataloader

  • Open html/camicroscope/api/Configuration/config.php
  • Change $baseURL="<DATALOADER_CONTAINER_IP>:9099"

Open http:https://localhost:<PORT>/camicroscope/osdCamicroscope.php?tissueId=<Image_ID>