31 lines
560 B
Nix
Raw Normal View History

2024-05-08 18:47:42 +02:00
{ config, pkgs, lib, ... }:
let serverCfg = config.syscfg.server;
in {
project.name = "name";
2023-12-07 01:07:31 +01:00
networks = {
internal = {
2024-05-08 18:47:42 +02:00
name = lib.mkForce "internal";
2023-12-07 01:07:31 +01:00
internal = true;
};
2024-05-08 18:47:42 +02:00
external = {
name = lib.mkForce "external";
internal = false;
};
2023-12-07 01:07:31 +01:00
};
services = {
NAME.service = {
image = "NAME:latest";
container_name = "NAME";
restart = "unless-stopped";
networks = [ "internal" ];
volumes = [ ];
environment = { };
labels = { "traefik.enable" = "false"; };
};
};
}