Add whats-up-docker service
This commit is contained in:
27
ServeNix/services/whats-up-docker.nix
Normal file
27
ServeNix/services/whats-up-docker.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
virtualisation.oci-containers.containers.whats-up-docker = {
|
||||||
|
image = "fmartinou/whats-up-docker:latest";
|
||||||
|
autoStart = true;
|
||||||
|
|
||||||
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
"3001:3000"
|
||||||
|
];
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
];
|
||||||
|
|
||||||
|
environment = {};
|
||||||
|
|
||||||
|
extraOptions = [];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user