feat(compute01): Deploy stirling-pdf on pdf.dgnum.eu
All checks were successful
Check meta / check_meta (push) Successful in 26s
Check meta / check_dns (push) Successful in 47s
build configuration / build_vault01 (push) Successful in 1m11s
build configuration / build_storage01 (push) Successful in 1m19s
build configuration / build_web02 (push) Successful in 58s
lint / check (push) Successful in 32s
build configuration / build_rescue01 (push) Successful in 55s
build configuration / build_web01 (push) Successful in 1m42s
build configuration / build_compute01 (push) Successful in 2m29s
build configuration / push_to_cache (push) Successful in 2m15s

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" "outline"
"rstudio-server" "rstudio-server"
"satosa" "satosa"
"signald"
"stirling-pdf"
"telegraf" "telegraf"
"vaultwarden" "vaultwarden"
"zammad" "zammad"
"signald"
]; ];
extraConfig = { 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 "nms" # LibreNMS
"pads" # Hedgedoc "pads" # Hedgedoc
"pass" # Vaultwarden "pass" # Vaultwarden
"pdf" # Stirling PDF
"saml-idp" # Satosa "saml-idp" # Satosa
"social" # Mastodon "social" # Mastodon
"sso" # Kanidm "sso" # Kanidm

View file

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

View file

@ -120,9 +120,9 @@
"url": "https://git.hubrecht.ovh/hubrecht/nix-modules.git" "url": "https://git.hubrecht.ovh/hubrecht/nix-modules.git"
}, },
"branch": "main", "branch": "main",
"revision": "f946e8843084f4ae9632ef583189dc83375fcd61", "revision": "7ff1d1d3740edd31e379e8aaf3108e3f13b6f31c",
"url": null, "url": null,
"hash": "0bkymf0mk01igjvmws035jjazcr2c6w0hc0d1yq8mh7h404qzfri" "hash": "0r9ga9kkrwwdjd769hq54hlnh4sz3nm5iigwhfg1qrd0nmrh57cw"
}, },
"nix-patches": { "nix-patches": {
"type": "GitRelease", "type": "GitRelease",