diff --git a/charts/ytdl-web/values.yaml b/charts/ytdl-web/values.yaml index 1ccbf2f..ea6a60f 100644 --- a/charts/ytdl-web/values.yaml +++ b/charts/ytdl-web/values.yaml @@ -7,9 +7,15 @@ strategy: type: Recreate env: + # YTDL_ENV: Production + # YTDL_BINARY_PATH: yt-dlp YTDL_HTTP_LISTEN: 0.0.0.0 YTDL_HTTP_PORT: 80 # YTDL_HTTP_BASEPATH: /example + # YTDL_HTTP_TRUSTED_PROXIES: 127.0.0.1 10.0.0.0/8 + # YTDL_CACHE_TTL: 1h + # YTDL_CACHE_DIRPATH: /tmp/ytdl-web + YTDL_COOKIES_ENABLED: true YTDL_COOKIES_FILEPATH: /etc/ytdl-web/cookies.txt service: diff --git a/config/config.go b/config/config.go index a3e1506..aef70fa 100644 --- a/config/config.go +++ b/config/config.go @@ -9,8 +9,8 @@ import ( type Config struct { Env string `mapstructure:"env"` BinaryPath string `mapstructure:"binaryPath"` - Cache ConfigCache `mapstructure:"cache"` HTTP ConfigHTTP `mapstructure:"http"` + Cache ConfigCache `mapstructure:"cache"` Cookies ConfigCookies `mapstructure:"cookies"` }