This commit is contained in:
25
modules/server/docker/sample.nix
Normal file
25
modules/server/docker/sample.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ pkgs, ... }:{
|
||||
project.name = "NEW";
|
||||
|
||||
networks = {
|
||||
internal = {
|
||||
internal = true;
|
||||
external = false;
|
||||
};
|
||||
external = { external = true; };
|
||||
};
|
||||
|
||||
services = {
|
||||
|
||||
NAME.service = {
|
||||
image = "NAME:latest";
|
||||
container_name = "NAME";
|
||||
restart = "unless-stopped";
|
||||
networks = [ "internal" ];
|
||||
volumes = [ ];
|
||||
environment = { };
|
||||
labels = { "traefik.enable" = "false"; };
|
||||
};
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user