Added kitchnowl
This commit is contained in:
parent
dd147098f1
commit
d079b29b78
2 changed files with 27 additions and 7 deletions
|
@ -28,10 +28,10 @@
|
|||
git
|
||||
];
|
||||
|
||||
services.kitchenowl = {
|
||||
enable = true;
|
||||
hostName = "shop.wastring.com";
|
||||
};
|
||||
# services.kitchenowl = {
|
||||
# enable = true;
|
||||
# hostName = "shop.wastring.com";
|
||||
# };
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
|
|
|
@ -1,7 +1,27 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.services.kitchenowl;
|
||||
in
|
||||
in
|
||||
{
|
||||
virtualisation.oci-containers = {
|
||||
backend = "podman";
|
||||
containers = {
|
||||
kitchenowl = {
|
||||
image = "tombursch/kitchenowl:latest";
|
||||
volumes = [
|
||||
"${cfg.datadir}:/data"
|
||||
];
|
||||
ports = [ "127.0.0.1:8080:8080" ];
|
||||
environment = {
|
||||
JWT_SECRET_KEY = "jkdlaksjdljlkjlq";
|
||||
}
|
||||
;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue