nouveau fichier : kuma.nix

modifié :         ../hosts/x201/nixos/dev.nix
main
Alexandre LUCAZEAU 2023-02-26 13:11:33 +01:00
parent 63f1df9864
commit db86f8de7a
2 changed files with 24 additions and 0 deletions

23
docker/kuma.nix Normal file
View File

@ -0,0 +1,23 @@
{ config, pkgs, ... }:
let
host = "kuma.atlanticaweb.fr";
in
{
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
};
oci-containers = {
backend = "podman";
containers.uptime-kuma = {
image = "louislam/uptime-kuma";
autoStart = true;
ports = [ "3001:3001" ]; #server locahost : docker localhost
volumes = [
"/srv/docker/app/data:/app/data"
];
};
};
};
}

View File

@ -4,6 +4,7 @@
# nodejs
# ];
virtualisation.docker.enable = true;
# Enable PostgreSQL
services.postgresql = {
enable = true;