parent
63f1df9864
commit
db86f8de7a
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
# nodejs
|
||||
# ];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
# Enable PostgreSQL
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue