Open kodxana opened 1 day ago
Hi,
Put a production.yaml
in your docker-volume/config
directory that contains key you want (like https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L835). So for example:
import:
videos:
http:
proxies:
- "https://username:password@example.com:8888"
Do I need to put whole production.yaml or can be just that fragment. I already have local-production.json in that folder.
Ok I think it works now but docker image is missing some deps for https proxy to work.
ERROR: To use an HTTPS proxy for this request, one of the following dependencies needs to be installed: requests, curl_cffi
Do I need to put whole production.yaml
No, only the key you need.
Ok I think it works now but docker image is missing some deps for https proxy to work.
Try to use a youtube-dl binary that contains these dependencies: https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L815
Nice it works now after switched proxy to http all works fine and can import videos now :)
Reopening this issue because I changed its scope so we properly implement all PeerTube config as Docker env
I also added a note in the configuration file: https://github.com/Chocobozzz/PeerTube/commit/e03dfa6c82c2b954fa235ca8e86af601e293272d
Describe the current behavior
So I have updated my docker instalation to v6.3.0 to use new yt-dl proxy option though after upgrade I cant see option from web ui or in config files. Other UI elements from update like transcript shows fine.
Are there any docs on how to set proxy corectly?
Steps to reproduce
Describe the expected behavior
There it should be indication how to set proxy corectly.
Additional information
PeerTube instance:
Browser name, version and platforms on which you could reproduce the bug:
Link to browser console log if relevant:
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
):