Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Port from Environment #122

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

WebFikirleri
Copy link

I'm not really good at docker yet but i update some codes on dockerfile and python file (but not on template file because i havent use Jinja2Templates yet, i hope you can edit template file).
You should use like this

  youtube-dl:
    image: "kmb32123/youtube-dl-server"
    network_mode: "service:vpn"
    volumes:
      - /home/core/youtube-dl:/youtube-dl
    environment:
      - YDL_PORT=8280
      - YDL_BASE_URL=/
    restart: always

@nnarain
Copy link

nnarain commented Apr 30, 2023

This is something I need as well. Especially if you want to run the server on a vpn network where you can't remap the port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants