mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-17 17:43:37 -05:00
Update schema
This commit is contained in:
@@ -14,25 +14,6 @@
|
|||||||
"type": "boolean",
|
"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."
|
"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": {
|
"images": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Configuration options for specific images",
|
"description": "Configuration options for specific images",
|
||||||
@@ -53,13 +34,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"theme": {
|
"refresh_interval": {
|
||||||
"description": "The theme used by the web UI",
|
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"description": "The interval at which Cup should check for updates. Must be a valid cron expression. Reference: https://github.com/Hexagon/croner-rust#pattern",
|
||||||
"default",
|
"minLength": 11
|
||||||
"blue"
|
},
|
||||||
]
|
"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": {
|
"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.",
|
"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.",
|
||||||
@@ -74,6 +71,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"theme": {
|
||||||
|
"description": "The theme used by the web UI",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"default",
|
||||||
|
"blue"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|||||||
Reference in New Issue
Block a user