mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-23 12:31:27 +00:00
41e5f89b7b
And adjust methods and tests
72 lines
1.5 KiB
JSON
72 lines
1.5 KiB
JSON
{
|
|
"api": {
|
|
"token": "TEST_TOKEN",
|
|
"enableSwagger": false
|
|
},
|
|
"bitwarden": {
|
|
"enable": false
|
|
},
|
|
"databasePassword": "PASSWORD",
|
|
"domain": "test.tld",
|
|
"hashedMasterPassword": "HASHED_PASSWORD",
|
|
"hostname": "test-instance",
|
|
"nextcloud": {
|
|
"adminPassword": "ADMIN",
|
|
"databasePassword": "ADMIN",
|
|
"enable": true
|
|
},
|
|
"resticPassword": "PASS",
|
|
"ssh": {
|
|
"enable": true,
|
|
"passwordAuthentication": true,
|
|
"rootKeys": [
|
|
"ssh-ed25519 KEY test@pc"
|
|
]
|
|
},
|
|
"username": "tester",
|
|
"gitea": {
|
|
"enable": false
|
|
},
|
|
"ocserv": {
|
|
"enable": true
|
|
},
|
|
"pleroma": {
|
|
"enable": true
|
|
},
|
|
"autoUpgrade": {
|
|
"enable": true,
|
|
"allowReboot": true
|
|
},
|
|
"timezone": "Europe/Moscow",
|
|
"sshKeys": [
|
|
"ssh-rsa KEY test@pc"
|
|
],
|
|
"users": [
|
|
{
|
|
"username": "user1",
|
|
"hashedPassword": "HASHED_PASSWORD_1",
|
|
"sshKeys": [
|
|
"ssh-rsa KEY user1@pc"
|
|
]
|
|
},
|
|
{
|
|
"username": "user2",
|
|
"hashedPassword": "HASHED_PASSWORD_2",
|
|
"sshKeys": [
|
|
]
|
|
},
|
|
{
|
|
"username": "user3",
|
|
"hashedPassword": "HASHED_PASSWORD_3"
|
|
}
|
|
],
|
|
"dns": {
|
|
"provider": "CLOUDFLARE",
|
|
"apiKey": "TOKEN"
|
|
},
|
|
"server": {
|
|
"provider": "HETZNER"
|
|
},
|
|
"backup": {
|
|
}
|
|
} |