mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-27 13:55:25 +03:00
compose service: add 'sysctls' option
This commit is contained in:
parent
e800372155
commit
6c7170c365
@ -174,6 +174,11 @@ in
|
|||||||
default = null;
|
default = null;
|
||||||
description = dockerComposeRef "stop_signal";
|
description = dockerComposeRef "stop_signal";
|
||||||
};
|
};
|
||||||
|
service.sysctls = mkOption {
|
||||||
|
type = attrsOf (either str int);
|
||||||
|
default = {};
|
||||||
|
description = dockerComposeRef "sysctls";
|
||||||
|
};
|
||||||
service.capabilities = mkOption {
|
service.capabilities = mkOption {
|
||||||
type = attrsOf (nullOr bool);
|
type = attrsOf (nullOr bool);
|
||||||
default = {};
|
default = {};
|
||||||
@ -198,6 +203,7 @@ in
|
|||||||
inherit (config.service)
|
inherit (config.service)
|
||||||
volumes
|
volumes
|
||||||
environment
|
environment
|
||||||
|
sysctls
|
||||||
image
|
image
|
||||||
;
|
;
|
||||||
} // lib.optionalAttrs (config.service.build.context != null) {
|
} // lib.optionalAttrs (config.service.build.context != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user