docspell service seems to work

just need to configure nginx as a reverse-proxy
This commit is contained in:
Khaïs COLIN 2024-08-23 09:57:21 +00:00
parent 7a0bc90d93
commit 57f9da1de8
4 changed files with 10 additions and 1 deletions

View file

@ -6,6 +6,7 @@
"sourcehut.${base-domain}" "sourcehut.${base-domain}"
"meta.sourcehut.${base-domain}" "meta.sourcehut.${base-domain}"
"git.sourcehut.${base-domain}" "git.sourcehut.${base-domain}"
"docspell.${base-domain}"
]; ];
acceptTerms = true; acceptTerms = true;
defaults = { defaults = {

5
docspell-initdb.sql Normal file
View file

@ -0,0 +1,5 @@
create user docspell with password 'docspell' login createdb;
create schema docspell;
grant all privileges on all tables in schema docspell to docspell;
grant all privileges on all sequences in schema docspell to docspell;
create database DOCSPELL owner docspell;

View file

@ -24,7 +24,7 @@ in
base-url = "https://${fqdn}"; base-url = "https://${fqdn}";
bind = { bind = {
address = "0.0.0.0"; address = "0.0.0.0";
port = 443; port = 7879;
}; };
auth = { auth = {
server-secret = "b64:lv56LIyZmaXTdlhvFBVpoNHt2BTQBgHpb7lwl1gyOG9MuvWKhSi91h84P15QIXirfYPSVV/R1aoTifSO688dWQ=="; server-secret = "b64:lv56LIyZmaXTdlhvFBVpoNHt2BTQBgHpb7lwl1gyOG9MuvWKhSi91h84P15QIXirfYPSVV/R1aoTifSO688dWQ==";

View file

@ -19,6 +19,9 @@
"git.sourcehut.${base-domain}" = { "git.sourcehut.${base-domain}" = {
enableACME = true; enableACME = true;
}; };
"docspell.${base-domain}" = {
enableACME = true;
};
}; };
}; };
} }