started container config
This commit is contained in:
26
system-config/services/containers/traefik/default.nix
Normal file
26
system-config/services/containers/traefik/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options.sysconfig.opts.virtualization.traefik.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.virtualization.traefik.enable {
|
||||
|
||||
services.traefik = {
|
||||
|
||||
enable = true;
|
||||
|
||||
staticConfigOpts = {
|
||||
entryPoints = {
|
||||
web = {};
|
||||
websecure = {};
|
||||
log = {};
|
||||
certificatesResolvers
|
||||
};
|
||||
};
|
||||
|
||||
dynamicConfigOpts = {};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user