chore: remove unused teedy setup
This commit is contained in:
parent
1940f26e70
commit
ff8eee35b1
5 changed files with 0 additions and 40 deletions
1
acme.nix
1
acme.nix
|
|
@ -7,7 +7,6 @@
|
|||
"meta.sourcehut.${base-domain}"
|
||||
"git.sourcehut.${base-domain}"
|
||||
"docspell.${base-domain}"
|
||||
"teedy.${base-domain}"
|
||||
"paperless.${base-domain}"
|
||||
];
|
||||
acceptTerms = true;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ in
|
|||
(import ./sourcehut.nix { inherit base-domain; })
|
||||
|
||||
(import ./docspell.nix { inherit base-domain docspell; })
|
||||
(import ./teedy.nix { inherit base-domain; })
|
||||
(import ./paperless.nix { inherit base-domain; })
|
||||
|
||||
./userprogs.nix
|
||||
|
|
|
|||
|
|
@ -26,13 +26,6 @@
|
|||
proxyPass = "http://localhost:7879";
|
||||
};
|
||||
};
|
||||
"teedy.${base-domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8080";
|
||||
};
|
||||
};
|
||||
"paperless.${base-domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
create user teedy with password 'teedy' login createdb;
|
||||
create schema teedy;
|
||||
grant all privileges on all tables in schema teedy to teedy;
|
||||
grant all privileges on all sequences in schema teedy to teedy;
|
||||
create database teedy owner teedy;
|
||||
26
teedy.nix
26
teedy.nix
|
|
@ -1,26 +0,0 @@
|
|||
{ base-domain, ... }:
|
||||
let
|
||||
fqdn = "teedy.${base-domain}";
|
||||
in
|
||||
{
|
||||
virtualisation.oci-containers = {
|
||||
containers = {
|
||||
teedy = {
|
||||
image = "sismics/docs:v1.11";
|
||||
volumes = [
|
||||
"/var/lib/teedy/data:/data"
|
||||
];
|
||||
# allow acces to host network, for postgresql
|
||||
extraOptions = [ "--network=host" ];
|
||||
environment = {
|
||||
DOCS_BASE_URL = fqdn;
|
||||
DOCS_ADMIN_EMAIL_INIT = "khais.colin@gmail.com";
|
||||
DATABASE_URL = "jdbc:postgresql://localhost:5432/teedy";
|
||||
DATABASE_USER = "teedy";
|
||||
DATABASE_PASSWORD = "teedy";
|
||||
DOCS_DEFAULT_LANGUAGE = "fra";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue