export ssl cert bundle to process
This commit is contained in:
parent
1d062ba28f
commit
0cbf6be06c
1 changed files with 12 additions and 4 deletions
|
@ -9,14 +9,22 @@
|
|||
imageFile = pkgs.dockerTools.buildLayeredImage {
|
||||
name = "my-zwave-js-ui";
|
||||
tag = "latest";
|
||||
contents = [ pkgs.cacert pkgs.busybox ];
|
||||
config.Cmd = [ "${inputs.self.packages.${pkgs.stdenv.system}.zwave-js-ui}/bin/zwave-js-ui" ];
|
||||
contents = [
|
||||
pkgs.cacert
|
||||
pkgs.busybox
|
||||
];
|
||||
config = {
|
||||
Cmd = [ "${inputs.self.packages.${pkgs.stdenv.system}.zwave-js-ui}/bin/zwave-js-ui" ];
|
||||
Env = [
|
||||
"STORE_DIR=/usr/src/app/store"
|
||||
"ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db"
|
||||
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||
];
|
||||
};
|
||||
};
|
||||
volumes = [ "zwave-config:/usr/src/app/store" ];
|
||||
environment = {
|
||||
TZ = "America/New_York";
|
||||
STORE_DIR = "/usr/src/app/store";
|
||||
ZWAVEJS_EXTERNAL_CONFIG = "/usr/src/app/store/.config-db";
|
||||
};
|
||||
labels = {
|
||||
swag = "enable";
|
||||
|
|
Loading…
Reference in a new issue