mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-13 22:23:16 +00:00
82 lines
1.8 KiB
JSON
82 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": ["ssh-rsa KEY user2@pc"]
|
|
},
|
|
{
|
|
"username": "user3",
|
|
"hashedPassword": "HASHED_PASSWORD_3",
|
|
"sshKeys": ["ssh-rsa KEY user3@pc"]
|
|
}
|
|
],
|
|
"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"
|
|
]
|
|
}
|
|
}
|