Caution
None of these pups have stable releases yet. Please only use them for testing. They may break when upgrading your Dogebox while we sort out stable interfaces.
Pups can expose end-user settings through the config.sections array in their manifest. Each field only needs a name, label, type, and an optional default. Supported field types:
text– plain text inputpassword– password/secret inputnumber– numeric input (supportsmin,max,step)toggle– toggle switchemail– email input with validationtextarea– multi-line text inputselect– dropdown selection (requiresoptions)checkbox– checkbox inputradio– radio button group (requiresoptions)date– date pickerrange– slider input (supportsmin,max,step)color– color picker
Example (from the Core RPC pup):
"config": {
"sections": [
{
"name": "rpc",
"label": "RPC Authentication",
"fields": [
{ "name": "RPC_USERNAME", "label": "RPC Username", "type": "text", "required": true },
{ "name": "RPC_PASSWORD", "label": "RPC Password", "type": "password", "required": true }
]
}
]
}Values are injected into the container as environment variables using the field name, making it easy for run scripts to consume them.
