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

RPC Auth in Docker Compose #167

Open
MajorTomDE opened this issue Jul 14, 2024 · 5 comments
Open

RPC Auth in Docker Compose #167

MajorTomDE opened this issue Jul 14, 2024 · 5 comments

Comments

@MajorTomDE
Copy link

Hey,

I tried my best, but it seems that I’m too stupid to configure RPC Auth in Docker Compose.

Could you extend your Docker Compose Example with RPC Auth configuration?

Thanks so much, Tom

@marcopeocchi
Copy link
Owner

I will add it to the README.md later but...

To configure RPC Auth with docker you need to expose the /config volume and create the config.yml configuration file inside of it.

config.yml

# RPC settings
require_auth: true # enables authentication
username: ciao
password: ciao # will be changed to hash version in the future

Later you will be "greet" by this screen:
Screenshot 2024-07-15 alle 10 05 40

Press login and then provide your credentials.

@gonsaaa
Copy link

gonsaaa commented Aug 13, 2024

Hi,
not working for me either..

services:
  yt-dlp-webui:
    container_name: yt-dlp-webui
    image: marcobaobao/yt-dlp-webui
    ports:
      - 3033:3033
    volumes:
      - /nfs/share/data/yt-dlp-webui:/downloads
      - /nfs/share/data/yt-dlp-webui/config:/config
    healthcheck:
      test: curl -f http://localhost:3033 || exit 1
    restart: unless-stopped

File config.yml is inside /nfs/share/data/yt-dlp-webui/config but when I try to login it says "error while connecting rpc"

@marcopeocchi
Copy link
Owner

Hello @gonsaaa,

It would be helpful for me to have the application logs.

@gonsaaa
Copy link

gonsaaa commented Aug 13, 2024

Hello @gonsaaa,

It would be helpful for me to have the application logs.

Nevermind. I figured it out.
Somehow Firefox was giving me trouble login in. I tried in Chrome and it worked.
Maybe some addon or cookie issue.

Thanks though!
Cheers

@matthewpipes
Copy link

I actually face the same issue here. Firefox gives me this error error while fetching: TypeError: NetworkError when attempting to fetch resource. while chrome work fine

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

No branches or pull requests

4 participants