mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-23 12:31:27 +00:00
84 lines
1.8 KiB
JSON
84 lines
1.8 KiB
JSON
{
|
|
"dns": {
|
|
"provider": "CLOUDFLARE",
|
|
"useStagingACME": false
|
|
},
|
|
"server": {
|
|
"provider": "HETZNER"
|
|
},
|
|
"domain": "test-domain.tld",
|
|
"hashedMasterPassword": "HASHED_PASSWORD",
|
|
"hostname": "test-instance",
|
|
"timezone": "Etc/UTC",
|
|
"username": "tester",
|
|
"useBinds": true,
|
|
"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"
|
|
}
|
|
],
|
|
"autoUpgrade": {
|
|
"enable": true,
|
|
"allowReboot": true
|
|
},
|
|
"modules": {
|
|
"bitwarden": {
|
|
"enable": true,
|
|
"location": "sdb"
|
|
},
|
|
"gitea": {
|
|
"enable": true,
|
|
"location": "sdb"
|
|
},
|
|
"jitsi-meet": {
|
|
"enable": true
|
|
},
|
|
"nextcloud": {
|
|
"enable": true,
|
|
"location": "sdb"
|
|
},
|
|
"ocserv": {
|
|
"enable": true
|
|
},
|
|
"pleroma": {
|
|
"enable": true,
|
|
"location": "sdb"
|
|
},
|
|
"simple-nixos-mailserver": {
|
|
"enable": true,
|
|
"location": "sdb"
|
|
}
|
|
},
|
|
"volumes": [
|
|
{
|
|
"device": "/dev/sdb",
|
|
"mountPoint": "/volumes/sdb",
|
|
"fsType": "ext4"
|
|
}
|
|
],
|
|
"ssh": {
|
|
"enable": true,
|
|
"passwordAuthentication": true,
|
|
"rootKeys": [
|
|
"ssh-ed25519 KEY test@pc"
|
|
]
|
|
}
|
|
}
|