feat(compute01): Deploy stirling-pdf on pdf.dgnum.eu

This commit is contained in:
Tom Hubrecht 2024-04-19 14:40:09 +02:00
parent c47437116b
commit dba0c88f70
5 changed files with 28 additions and 3 deletions

View file

@ -21,10 +21,11 @@ lib.extra.mkConfig {
"outline"
"rstudio-server"
"satosa"
"signald"
"stirling-pdf"
"telegraf"
"vaultwarden"
"zammad"
"signald"
];
extraConfig = {

View 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";
};
};
}

View file

@ -52,6 +52,7 @@ let
"nms" # LibreNMS
"pads" # Hedgedoc
"pass" # Vaultwarden
"pdf" # Stirling PDF
"saml-idp" # Satosa
"social" # Mastodon
"sso" # Kanidm

View file

@ -34,6 +34,7 @@
site = "pav01";
stateVersion = "23.05";
nix-modules = [ "services/stirling-pdf" ];
};
geo01 = {

View file

@ -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",