mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
stirling-pdf: Use systemd service instead of container
This commit is contained in:
parent
ed714c8aed
commit
c315c7f66e
1 changed files with 4 additions and 5 deletions
|
|
@ -21,15 +21,14 @@ in
|
|||
ports.tcp.list = [ cfg.port ];
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.stirling-pdf = {
|
||||
image = "docker.stirlingpdf.com/stirlingtools/stirling-pdf";
|
||||
services.stirling-pdf = {
|
||||
enable = true;
|
||||
environment = {
|
||||
DISABLE_ADDITIONAL_FEATURES = "false";
|
||||
SERVER_ADDRESS = "127.0.0.1";
|
||||
SERVER_PORT = cfg.port;
|
||||
SYSTEM_ENABLEANALYTICS = "false";
|
||||
LANGS = "de_DE";
|
||||
};
|
||||
ports = [ "127.0.0.1:${builtins.toString cfg.port}:8080" ];
|
||||
pull = "newer";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue