Dogebox Logo Dogebox

Manifest File

A file called manifest.json is required for every pup. This file is consumed by Dogebox and describes metadata about the pup, as well as dependencies, ports to share, and a bunch of other configurable information.

Example

 

Reference

PropTypeDefault
manifestVersion
number
-
meta
PupManifestMeta
-
container
PupManifestContainer
-
interfaces?
PupManifestInterface[]
[]
dependencies?
PupManifestDependency[]
[]
metrics?
PupManifestMetric[]
[]

Types

These types may be slightly out of date. For the moment, please confirm with the manifest.go file in the Dogebox source code.

PupManifestMeta

PropTypeDefault
name
string
-
version
string
-
logoPath?
string
-
shortDescription?
string
-
longDescription?
string
-
upstreamVersions?
Record<string, string>
-

PupManifestContainer

PropTypeDefault
build
PupManifestBuild
-
services
PupManifestService[]
[]
exposes?
PupManifestExposeConfig[]
[]
requiresInternet?
boolean
false

PupManifestBuild

PropTypeDefault
nixFile
string
-
nixFileSha256
string
-

PupManifestService

PropTypeDefault
name
string
-
command
PupManifestCommand
-

PupManifestCommand

PropTypeDefault
exec
string
-
cwd
string
-
env?
Record<string, string>
{}

PupManifestExposeConfig

PropTypeDefault
name
string
-
type
"http" | "tcp"
-
port
number
-
interfaces?
string[]
[]
listenOnHost?
boolean
false
webUI?
boolean
false

PupManifestInterface

PropTypeDefault
name
string
-
version
string
-
permissionGroups
PupManifestPermissionGroup[]
[]

PupManifestPermissionGroup

PropTypeDefault
name
string
-
description?
string
-
severity
number
-
routes?
string[]
[]
port
number
-

PupManifestDependency

PropTypeDefault
interfaceName
string
-
interfaceVersion
string
-
permissionGroups
string[]
[]
source
PupManifestDependencySource
-
optional?
boolean
false

PupManifestDependencySource

PropTypeDefault
sourceLocation
string
-
pupName
string
-
pupVersion
string
-
pupLogoBase64
string
-

PupManifestMetric

PropTypeDefault
name
string
-
label
string
-
type
string
-
history?
number
-

On this page