Add more possible env values to chart
This commit is contained in:
parent
2e251e4593
commit
0cafdf8216
|
@ -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:
|
||||
|
|
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue