fix ssl ?
This commit is contained in:
@@ -11,9 +11,15 @@ let
|
||||
image = pkgs.dockerTools.streamLayeredImage {
|
||||
name = pkgs.invidious.name;
|
||||
tag = pkgs.invidious.version;
|
||||
|
||||
contents = [ pkgs.cacert patchedInvidious ];
|
||||
config = {
|
||||
Entrypoint = [ "${patchedInvidious}/bin/invidious" ];
|
||||
ExposedPorts = { "3000/tcp" = {}; };
|
||||
Env = [
|
||||
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||
"NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user