forked from DGNum/infrastructure
feat(compute01): Deploy stirling-pdf on pdf.dgnum.eu
This commit is contained in:
parent
c47437116b
commit
dba0c88f70
5 changed files with 28 additions and 3 deletions
|
@ -21,10 +21,11 @@ lib.extra.mkConfig {
|
|||
"outline"
|
||||
"rstudio-server"
|
||||
"satosa"
|
||||
"signald"
|
||||
"stirling-pdf"
|
||||
"telegraf"
|
||||
"vaultwarden"
|
||||
"zammad"
|
||||
"signald"
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
|
|
22
machines/compute01/stirling-pdf.nix
Normal file
22
machines/compute01/stirling-pdf.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ nixpkgs, ... }:
|
||||
|
||||
{
|
||||
services.stirling-pdf = {
|
||||
enable = true;
|
||||
|
||||
package = nixpkgs.unstable.stirling-pdf;
|
||||
|
||||
domain = "pdf.dgnum.eu";
|
||||
port = 8084;
|
||||
|
||||
nginx = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
||||
environment = {
|
||||
UI_APP_NAME = "DGNum PDF";
|
||||
APP_LOCALE = "fr-FR";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -52,6 +52,7 @@ let
|
|||
"nms" # LibreNMS
|
||||
"pads" # Hedgedoc
|
||||
"pass" # Vaultwarden
|
||||
"pdf" # Stirling PDF
|
||||
"saml-idp" # Satosa
|
||||
"social" # Mastodon
|
||||
"sso" # Kanidm
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
site = "pav01";
|
||||
|
||||
stateVersion = "23.05";
|
||||
nix-modules = [ "services/stirling-pdf" ];
|
||||
};
|
||||
|
||||
geo01 = {
|
||||
|
|
|
@ -120,9 +120,9 @@
|
|||
"url": "https://git.hubrecht.ovh/hubrecht/nix-modules.git"
|
||||
},
|
||||
"branch": "main",
|
||||
"revision": "f946e8843084f4ae9632ef583189dc83375fcd61",
|
||||
"revision": "7ff1d1d3740edd31e379e8aaf3108e3f13b6f31c",
|
||||
"url": null,
|
||||
"hash": "0bkymf0mk01igjvmws035jjazcr2c6w0hc0d1yq8mh7h404qzfri"
|
||||
"hash": "0r9ga9kkrwwdjd769hq54hlnh4sz3nm5iigwhfg1qrd0nmrh57cw"
|
||||
},
|
||||
"nix-patches": {
|
||||
"type": "GitRelease",
|
||||
|
|
Loading…
Reference in a new issue