Skip to content

Build and execution

Sergio Vicente de las Heras edited this page Jun 22, 2019 · 6 revisions

Build the docker image:

docker build -t scribe .

Or download the image from docker pull payvisiondevelopment/scribe:1.1.0

Run the image with the required environment variables:

docker run --rm -it 
    -e SCRIBE_USER="user"
    -e SCRIBE_PASS="pass"
    -e SCRIBE_FRESHSERVICE_URL="https://foo.freshservice.com"
    -e SCRIBE_FRESHSERVICE_EMAIL="[email protected]"
    -e SCRIBE_FRESHSERVICE_APIKEY="key"
    -e SCRIBE_VSTS_APIKEY="key"
    -p 8080:8080 scribe

Check the health endpoint:

GET /status HTTP/1.1

{
    "Service": "Scribe",
    "Description": "VSTS Release event integration with Freshservice",
    "Status": "OK",
    "Version": "1.1.0",
    "Info": {
        "Started": "2018-01-01T00:00:00.000000000+01:00",
        "Events": 0
    }
}
Clone this wiki locally