Docker deployment of Widget Snapshot Service .
This repository deploys these containers:
- Widget Snapshot Service
- Widget Snapshot Service: 8888 - 8888
- docker > 1.7.0
- docker-compose > 1.3.1
Alias | Command |
---|---|
Start | docker-compose up -d |
Stop | docker-compose stop |
Delete | docker-compose rm -f |
Rebuild | docker-compose build |
If you want to change port redirection or configuration, we suggest you:
- Stop
- Delete
- Build (if you have changed any file or physical configuration)
- Start
- 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