hosts: server: enable postgres for onlyoffice
This commit is contained in:
parent
5f925a20a4
commit
9fea252f2c
@ -46,6 +46,10 @@
|
|||||||
services.onlyoffice = {
|
services.onlyoffice = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostname = "localhost";
|
hostname = "localhost";
|
||||||
|
postgresName = "onlyofficedb";
|
||||||
|
postgresHost = "localhost";
|
||||||
|
postgresUser = "onlyoffice";
|
||||||
|
postgresPasswordFile = config.age.secrets."services/nextcloud/onlyofficedb".path;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.redis = {
|
services.redis = {
|
||||||
@ -78,6 +82,10 @@
|
|||||||
file = ../../../secrets/services/nextcloud/adminpassFile.age;
|
file = ../../../secrets/services/nextcloud/adminpassFile.age;
|
||||||
owner = "nextcloud";
|
owner = "nextcloud";
|
||||||
};
|
};
|
||||||
|
age.secrets."services/nextcloud/onlyofficedb" = {
|
||||||
|
file = ../../../secrets/services/nextcloud/onlyofficedb.age;
|
||||||
|
owner = "onlyoffice";
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services."nextcloud-setup" = {
|
systemd.services."nextcloud-setup" = {
|
||||||
requires = ["postgresql.service"];
|
requires = ["postgresql.service"];
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
host whatsappdb mautrixwa localhost scram-sha-256
|
host whatsappdb mautrixwa localhost scram-sha-256
|
||||||
host telegramdb mautrixtele localhost scram-sha-256
|
host telegramdb mautrixtele localhost scram-sha-256
|
||||||
host signaldb mautrixsignal localhost scram-sha-256
|
host signaldb mautrixsignal localhost scram-sha-256
|
||||||
|
host onlyofficedb onlyoffice localhost scram-sha-256
|
||||||
'';
|
'';
|
||||||
initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
|
initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
|
||||||
};
|
};
|
||||||
|
@ -62,6 +62,7 @@ in
|
|||||||
"services/matrix/signal-registration.age".publicKeys = servers ++ users;
|
"services/matrix/signal-registration.age".publicKeys = servers ++ users;
|
||||||
"services/nextcloud/adminpassFile.age".publicKeys = servers ++ users;
|
"services/nextcloud/adminpassFile.age".publicKeys = servers ++ users;
|
||||||
"services/nextcloud/dbpassFile.age".publicKeys = servers ++ users;
|
"services/nextcloud/dbpassFile.age".publicKeys = servers ++ users;
|
||||||
|
"services/nextcloud/onlyofficedb.age".publicKeys = servers ++ users;
|
||||||
"services/gitea/databasePassword.age".publicKeys = servers ++ users;
|
"services/gitea/databasePassword.age".publicKeys = servers ++ users;
|
||||||
"services/gitea/mailerPassword.age".publicKeys = servers ++ users;
|
"services/gitea/mailerPassword.age".publicKeys = servers ++ users;
|
||||||
"services/gitea/runner-token.age".publicKeys = dmzs ++ users;
|
"services/gitea/runner-token.age".publicKeys = dmzs ++ users;
|
||||||
|
21
secrets/services/nextcloud/onlyofficedb.age
Normal file
21
secrets/services/nextcloud/onlyofficedb.age
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 neExcQ ua8fTpZB6AlfOtoDVlTUPIAg8aPoi79AJVHyS6quMUM
|
||||||
|
4EC2U+h2OmwB4iQc5zA+OvQeQn/RJGgpfUl9vxB1O+o
|
||||||
|
-> ssh-rsa VtjGpQ
|
||||||
|
ioqNl02pKSYBd6jAR27FgxsPoOJy4HOcAVjzPlPF18EhHVVPkDSggeElOwJ7Kb33
|
||||||
|
XEkFpKiSz+Chcn+KrQBW3yYwYGwIMYkrs6xfmYrD1RKxdAbIXNophQJPA6HkYj6Z
|
||||||
|
UIK4xfwGDhfEdu/9+UXI8hfQ7YidvVw+NujavBhgpZjfa1E4K1ZbpsGTqqxWkPjp
|
||||||
|
GTI+PoCqsxJNzi2CyNaHmiz3ykOTc6V9CQUA9Yr4GDyol+LkMs1EYEHZQ4yY+p/Z
|
||||||
|
ZBOFFTmHlP+xKMhjK67Lr1PNDeNgFTzIY8aJIdhC9ScY6fqJ08IftwEHrgWYr1R0
|
||||||
|
EIkQ9hCJK49mHPMVlJFLMZI+xmoRIalf68//Q4ZTVdNaLmAHQRIQfQC/YrCddITx
|
||||||
|
3GmkLRGz4wrvuWLcgx8DhOfe5vr/Tu+SI5oVIpkScxgzU8bHYsyrVQ0TAFOOLyx+
|
||||||
|
DQNFhd2aY0lUzZfyble5fOozeqonPf+k74vPn6CvikDdeTNhpj8Cbe9Ro7dQBO0N
|
||||||
|
0a11ZBGlm5nohGootIP/zi4ly6xpc0cUq1PbFpq3xV3rXX2VUsPfAhHqlkc/Rsi7
|
||||||
|
/7JkG4+3+xH0vAGvPFs7Ja1snnWuWeK6s2v+KR0ijvYRaFp9KuDwoobW0tY5KaxM
|
||||||
|
2NWzltzdYJ3gINYTqDa+zmZIdZr5rEh01q43uRQ451w
|
||||||
|
-> piv-p256 grR75w A6t18C3KM2Z3De6Rnzs+eGLzAe5bGUqOG7NCMa0Nsgri
|
||||||
|
Hb8o3YbHz4xjU4NZNuUa9UigU47eKh1mRo2dlgXV4FM
|
||||||
|
-> piv-p256 RQguQQ A27FNpG0FCPnDskBHG7fQjZCzJQ/j5ViKbVYzRDCXJlQ
|
||||||
|
nSgHWpdnisqCHmpdtwcbr2J1AxkTW8vxO5Aillyoyig
|
||||||
|
--- gPm97DAXfRTOmb9G/Pfbty2XnFAgzqR9ldNEaflZa+8
|
||||||
|
Á\ÏoÂIzˆ¹ÔWוÊ+Áfhô©_I£u Ÿæý Ø™hj]ŒÓ²ñ`W<>E¹°
ÂN°†‡
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user