2022-01-13 20:21:56 +01:00
|
|
|
version = "1.0"
|
|
|
|
|
|
|
|
## (optional) i18n property let you internationalize questions, however this feature
|
|
|
|
## is only available in core configuration panel (like yunohost domain config).
|
|
|
|
## So in app config panel this key is ignored for now, but you can internationalize
|
|
|
|
## by using a lang dictionary (see property name bellow)
|
|
|
|
# i18n = "prefix_translation_key"
|
|
|
|
|
|
|
|
[main]
|
|
|
|
name = "Main configuration"
|
|
|
|
services = ["__APP__"]
|
2022-01-16 20:45:31 +01:00
|
|
|
|
2022-01-16 14:01:08 +01:00
|
|
|
[main.auth]
|
|
|
|
name = "Authentication"
|
|
|
|
|
2022-01-16 20:45:31 +01:00
|
|
|
[main.auth.auth]
|
2022-01-16 14:01:08 +01:00
|
|
|
ask = "Auth type"
|
|
|
|
type = "select"
|
|
|
|
choices = ["none", "password"]
|
|
|
|
default = "none"
|
2022-01-16 20:45:31 +01:00
|
|
|
optional = false
|
|
|
|
bind = ":/opt/yunohost/__APP__/config.yaml"
|
2022-01-16 14:01:08 +01:00
|
|
|
|
|
|
|
[main.auth.password]
|
|
|
|
ask = "Password"
|
|
|
|
type = "password"
|
2022-01-16 20:45:31 +01:00
|
|
|
optional = true
|
|
|
|
visible = "auth == 'password'"
|
2022-01-16 14:01:08 +01:00
|
|
|
|
2022-01-13 20:21:56 +01:00
|
|
|
[main.extensions]
|
|
|
|
name = "Extensions"
|
|
|
|
optional = false
|
|
|
|
|
|
|
|
[main.extensions.extensions_gallery]
|
|
|
|
ask = "Extensions Gallery"
|
|
|
|
type = "string"
|
|
|
|
example = "{\"serviceUrl\": \"https://open-vsx.org/vscode/gallery\",\"itemUrl\": \"https://open-vsx.org/vscode/item\"}"
|
2022-01-16 20:45:31 +01:00
|
|
|
optional = false
|
2022-01-13 20:21:56 +01:00
|
|
|
bind = ":/opt/yunohost/__APP__/code-server.env"
|
|
|
|
|
|
|
|
[main.extensions.enable_proposed_api]
|
|
|
|
ask = "Enable Proposed API"
|
|
|
|
type = "tags"
|
|
|
|
optional = true
|