Digital service

The Service object is the top-level object for configuring a digital service.

Overview

The Service object is the top-level object used for configuring a digital service. It should be the first object configured in the service.yaml file.

Example

Below is an example configuration.

kind: Service
version: 0
modelFile: ./my-model.gh

ServiceConfig

An object for configuring a digital service.

Name Type Required Description
kind "DigitalService" Yes A constant, DigitalService.
version "v0" Yes The Packhunt service configuration language version.
modelFile string Yes A relative path to a valid model file, for Grasshopper models use binary format files (.gh).
The file name can only contain lowercase letters, numbers, and dashes.