Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Latest commit

 

History

History
46 lines (32 loc) · 1.22 KB

File metadata and controls

46 lines (32 loc) · 1.22 KB

sdh-machine-snapshot-service

Docker deployment of Widget Snapshot Service .

This repository deploys these containers:

  • Widget Snapshot Service

Ports (container - host):

  • Widget Snapshot Service: 8888 - 8888

Docker - Requirements:

  • docker > 1.7.0
  • docker-compose > 1.3.1

Docker - Usage:

Alias Command
Start docker-compose up -d
Stop docker-compose stop
Delete docker-compose rm -f
Rebuild docker-compose build

Docker - Tips:

If you want to change port redirection or configuration, we suggest you:

  1. Stop
  2. Delete
  3. Build (if you have changed any file or physical configuration)
  4. Start

Docker - Environment:

  • Widget Snapshot Service Configuration
Variable Description Example
PHANTOM_WORKERS Number of phantom processes for the images service 1 or more
PHANTOM_EXECUTORS_PER_WORKER Number of executors per process for the images service 1 or more
SDH_IMAGES_SERVICE The public URI for the images service http://snapshotservice:8888
SDH__API_URL* URI where to locate the API http://...
SLACK_BOT_TOKEN* Slack token your_slack_token

* This is obtained by default from the host environment