fix ssl ?
This commit is contained in:
@@ -11,9 +11,15 @@ let
|
|||||||
image = pkgs.dockerTools.streamLayeredImage {
|
image = pkgs.dockerTools.streamLayeredImage {
|
||||||
name = pkgs.invidious.name;
|
name = pkgs.invidious.name;
|
||||||
tag = pkgs.invidious.version;
|
tag = pkgs.invidious.version;
|
||||||
|
|
||||||
|
contents = [ pkgs.cacert patchedInvidious ];
|
||||||
config = {
|
config = {
|
||||||
Entrypoint = [ "${patchedInvidious}/bin/invidious" ];
|
Entrypoint = [ "${patchedInvidious}/bin/invidious" ];
|
||||||
ExposedPorts = { "3000/tcp" = {}; };
|
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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ port: 3000
|
|||||||
external_port: 443
|
external_port: 443
|
||||||
host_binding: 0.0.0.0
|
host_binding: 0.0.0.0
|
||||||
domain: $INVIDIOUS_DOMAIN
|
domain: $INVIDIOUS_DOMAIN
|
||||||
https_only: true
|
https_only: false
|
||||||
#hsts: true
|
#hsts: true
|
||||||
|
|
||||||
## Accepted values: true, false, dash, livestreams, downloads, local
|
## Accepted values: true, false, dash, livestreams, downloads, local
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
# -----------------------------
|
# -----------------------------
|
||||||
|
|
||||||
#banner:
|
#banner:
|
||||||
use_pubsub_feeds: true
|
# use_pubsub_feeds: true
|
||||||
|
|
||||||
hmac_key: $HMAC_KEY
|
hmac_key: $HMAC_KEY
|
||||||
#dmca_content:
|
#dmca_content:
|
||||||
|
|||||||
Reference in New Issue
Block a user