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:
Hayden 2022-10-12 12:53:22 -08:00 committed by GitHub
parent eca071f974
commit 92368dabf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 166 additions and 45 deletions

View file

@ -1580,6 +1580,9 @@ const docTemplate = `{
"build": {
"$ref": "#/definitions/v1.Build"
},
"demo": {
"type": "boolean"
},
"health": {
"type": "boolean"
},

View file

@ -1572,6 +1572,9 @@
"build": {
"$ref": "#/definitions/v1.Build"
},
"demo": {
"type": "boolean"
},
"health": {
"type": "boolean"
},

View file

@ -335,6 +335,8 @@ definitions:
properties:
build:
$ref: '#/definitions/v1.Build'
demo:
type: boolean
health:
type: boolean
message: