forked from mirrors/homebox
feat: automate demo-site deployment and configuration (#42)
* add demo env variable * setup initialization when demo * disable password when in demo mode * expose demo status to API * improve UI for demo instance
This commit is contained in:
parent
eca071f974
commit
92368dabf8
12 changed files with 166 additions and 45 deletions
|
@ -1580,6 +1580,9 @@ const docTemplate = `{
|
|||
"build": {
|
||||
"$ref": "#/definitions/v1.Build"
|
||||
},
|
||||
"demo": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"health": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
|
@ -1572,6 +1572,9 @@
|
|||
"build": {
|
||||
"$ref": "#/definitions/v1.Build"
|
||||
},
|
||||
"demo": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"health": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
|
@ -335,6 +335,8 @@ definitions:
|
|||
properties:
|
||||
build:
|
||||
$ref: '#/definitions/v1.Build'
|
||||
demo:
|
||||
type: boolean
|
||||
health:
|
||||
type: boolean
|
||||
message:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue