docspell service seems to work
just need to configure nginx as a reverse-proxy
This commit is contained in:
parent
7a0bc90d93
commit
57f9da1de8
4 changed files with 10 additions and 1 deletions
1
acme.nix
1
acme.nix
|
|
@ -6,6 +6,7 @@
|
|||
"sourcehut.${base-domain}"
|
||||
"meta.sourcehut.${base-domain}"
|
||||
"git.sourcehut.${base-domain}"
|
||||
"docspell.${base-domain}"
|
||||
];
|
||||
acceptTerms = true;
|
||||
defaults = {
|
||||
|
|
|
|||
5
docspell-initdb.sql
Normal file
5
docspell-initdb.sql
Normal 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;
|
||||
|
|
@ -24,7 +24,7 @@ in
|
|||
base-url = "https://${fqdn}";
|
||||
bind = {
|
||||
address = "0.0.0.0";
|
||||
port = 443;
|
||||
port = 7879;
|
||||
};
|
||||
auth = {
|
||||
server-secret = "b64:lv56LIyZmaXTdlhvFBVpoNHt2BTQBgHpb7lwl1gyOG9MuvWKhSi91h84P15QIXirfYPSVV/R1aoTifSO688dWQ==";
|
||||
|
|
|
|||
|
|
@ -19,6 +19,9 @@
|
|||
"git.sourcehut.${base-domain}" = {
|
||||
enableACME = true;
|
||||
};
|
||||
"docspell.${base-domain}" = {
|
||||
enableACME = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue