Open ZippoD opened 11 months ago
You can use the ports
version: "3.9"
services:
youtube-dl:
image: "kmb32123/youtube-dl-server"
network_mode: "service:vpn"
volumes:
- ./down:/youtube-dl
restart: unless-stopped
ports:
- "99:8080"
it seems one can specify environment variables to change various options
"YDL_FORMAT": "bestvideo+bestaudio/best"
"YDL_EXTRACT_AUDIO_FORMAT": None
"YDL_EXTRACT_AUDIO_QUALITY": "192"
"YDL_RECODE_VIDEO_FORMAT": None
"YDL_OUTPUT_TEMPLATE": "/youtube-dl/%(title).200s [%(id)s].%(ext)s"
(see available parameters)"YDL_ARCHIVE_FILE": None
"YDL_SERVER_HOST": "0.0.0.0"
"YDL_SERVER_PORT": 8080
"YDL_UPDATE_TIME": "True"
Hi, So there was a case already for this question, but the resolution was to re-map the container port (8080) to a different port on the host, which is not the same thing. That doesn't work when containers are routed thru another container network (e.g. VPN), because port mapping needs to be done by the VPN container (and when there is more than one container requiring 8080 there is a conflict). Any way to actually change the web port from default 8080 to something else?