mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-24 04:51:27 +00:00
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"api": {"token": "TEST_TOKEN", "enableSwagger": false},
|
|
"databasePassword": "PASSWORD",
|
|
"domain": "test.tld",
|
|
"hashedMasterPassword": "HASHED_PASSWORD",
|
|
"hostname": "test-instance",
|
|
"resticPassword": "PASS",
|
|
"ssh": {
|
|
"enable": true,
|
|
"passwordAuthentication": true,
|
|
"rootKeys": ["ssh-ed25519 KEY test@pc"]
|
|
},
|
|
"username": "tester",
|
|
"autoUpgrade": {"enable": true, "allowReboot": true},
|
|
"useBinds": true,
|
|
"timezone": "Europe/Moscow",
|
|
"sshKeys": ["ssh-rsa KEY test@pc"],
|
|
"dns": {"provider": "CLOUDFLARE", "apiKey": "TOKEN"},
|
|
"server": {"provider": "HETZNER"},
|
|
"modules": {
|
|
"bitwarden": {"enable": true},
|
|
"gitea": {"enable": true},
|
|
"ocserv": {"enable": true},
|
|
"pleroma": {"enable": true},
|
|
"jitsi": {"enable": true},
|
|
"nextcloud": {
|
|
"adminPassword": "ADMIN",
|
|
"databasePassword": "ADMIN",
|
|
"enable": true
|
|
}
|
|
},
|
|
"backup": {
|
|
"provider": "BACKBLAZE",
|
|
"accountId": "ID",
|
|
"accountKey": "KEY",
|
|
"bucket": "selfprivacy"
|
|
},
|
|
"users": [
|
|
{
|
|
"username": "user1",
|
|
"hashedPassword": "HASHED_PASSWORD_1",
|
|
"sshKeys": ["ssh-rsa KEY user1@pc"]
|
|
},
|
|
{
|
|
"username": "user2",
|
|
"hashedPassword": "HASHED_PASSWORD_2",
|
|
"sshKeys": ["ssh-rsa KEY user2@pc"]
|
|
},
|
|
{
|
|
"username": "user3",
|
|
"hashedPassword": "HASHED_PASSWORD_3",
|
|
"sshKeys": ["ssh-rsa KEY user3@pc"]
|
|
}
|
|
]
|
|
}
|