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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue