Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sergi0g committed Jan 2, 2025
1 parent 76a812f commit d3b18a6
Showing 1 changed file with 30 additions and 25 deletions.
55 changes: 30 additions & 25 deletions cup.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,6 @@
"type": "boolean",
"description": "Whether or not to enable agent mode. When agent mode is enabled, the server only exposes the API and the web interface is unavailable."
},
"registries": {
"type": "object",
"description": "Configuration options for specific registries",
"additionalProperties": {
"authentication": {
"description": "An authentication token provided by the registry",
"type": "string",
"minLength": 1
},
"insecure": {
"description": "Whether Cup should connect to the registry insecurely (HTTP) or not. Enable this only if you really need to.",
"type": "boolean"
},
"ignore": {
"description": "Whether or not the registry should be ignored when running Cup",
"type": "boolean"
}
}
},
"images": {
"type": "object",
"description": "Configuration options for specific images",
Expand All @@ -53,13 +34,29 @@
}
}
},
"theme": {
"description": "The theme used by the web UI",
"refresh_interval": {
"type": "string",
"enum": [
"default",
"blue"
]
"description": "The interval at which Cup should check for updates. Must be a valid cron expression. Reference: https://github.com/Hexagon/croner-rust#pattern",
"minLength": 11
},
"registries": {
"type": "object",
"description": "Configuration options for specific registries",
"additionalProperties": {
"authentication": {
"description": "An authentication token provided by the registry",
"type": "string",
"minLength": 1
},
"insecure": {
"description": "Whether Cup should connect to the registry insecurely (HTTP) or not. Enable this only if you really need to.",
"type": "boolean"
},
"ignore": {
"description": "Whether or not the registry should be ignored when running Cup",
"type": "boolean"
}
}
},
"socket": {
"description": "The path to the unix socket you would like Cup to use for communication with the Docker daemon. Useful if you're trying to use Cup with Podman.",
Expand All @@ -74,6 +71,14 @@
"type": "string",
"minLength": 1
}
},
"theme": {
"description": "The theme used by the web UI",
"type": "string",
"enum": [
"default",
"blue"
]
}
},
"required": [
Expand Down

0 comments on commit d3b18a6

Please sign in to comment.