add token for onlyoffice

This commit is contained in:
Kabbone 2024-02-18 13:50:50 +01:00
parent 98320fd0bd
commit 7b0cfb5dfa
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
3 changed files with 28 additions and 1 deletions

View File

@ -45,11 +45,12 @@
services.onlyoffice = {
enable = true;
hostname = "localhost";
hostname = "docs.cloud.kabtop.de";
postgresName = "onlyoffice";
postgresHost = "localhost";
postgresUser = "onlyoffice";
postgresPasswordFile = config.age.secrets."services/nextcloud/onlyofficedb".path;
jwtSecretFile = config.age.secrets."services/nextcloud/onlyofficejwt".path;
};
services.redis = {
@ -86,6 +87,10 @@
file = ../../../secrets/services/nextcloud/onlyofficedb.age;
owner = "onlyoffice";
};
age.secrets."services/nextcloud/onlyofficejwt" = {
file = ../../../secrets/services/nextcloud/onlyofficejwt.age;
owner = "onlyoffice";
};
systemd.services."nextcloud-setup" = {
requires = ["postgresql.service"];

View File

@ -70,6 +70,7 @@ in
"services/nextcloud/adminpassFile.age".publicKeys = servers ++ users;
"services/nextcloud/dbpassFile.age".publicKeys = servers ++ users;
"services/nextcloud/onlyofficedb.age".publicKeys = servers ++ users;
"services/nextcloud/onlyofficejwt.age".publicKeys = servers ++ users;
"services/gitea/databasePassword.age".publicKeys = servers ++ users;
"services/gitea/mailerPassword.age".publicKeys = servers ++ users;
"services/gitea/homerunner-token.age".publicKeys = homerunners ++ users;

View File

@ -0,0 +1,21 @@
age-encryption.org/v1
-> ssh-ed25519 neExcQ mkJ8+lmRdrNs4QMOpRevodtJkZjglDCkUqYGtUPHh2g
eSskP9nocCNUlYI6tEMTgD/ThTDUmUxbxtn+clrJHwo
-> ssh-rsa VtjGpQ
PTarDFRMSn4FIIzf67Vzb+Xn7c1c20pV9a7UiRyUjV2PNduAs3HHQlMMUzMJZH76
1qanW4IahBDLvmW7+6BJJ0ztr2ZcWU+beMv6JZhKL68R1w5obdpm0tj7ZpnnjHmB
URrrvXDMR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