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

[Bug Report] DISABLE_AUTH not working #575

Open
jrodriguesimg opened this issue Feb 3, 2023 · 2 comments
Open

[Bug Report] DISABLE_AUTH not working #575

jrodriguesimg opened this issue Feb 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jrodriguesimg
Copy link

Describe the bug
I passed DISABLE_AUTH to the container but it still asks for authentication

To Reproduce
Steps to reproduce the behavior:

  1. create yacht container passing DISABLE_AUTH
docker run -d --restart=always  -p 9000:8000 -v /var/run/docker.sock:/var/run/docker.sock -v yacht:/config --name yacht -e DISABLE_AUTH='true' -e SECRET_KEY='secrete' selfhostedpro/yacht
  1. open localhost:9000

Expected behavior
It should not require authentication

Screenshots
It requires authentication
Screenshot 2023-02-03 at 12 34 29

Desktop (please complete the following information):

  • OS: docker for mac on M1 Max, Ventura 13.1
  • Browser: Brave
  • Yacht Version: lastest (IMAGE ID: d79060100eb7)

Additional context
I've never used yatch before. I'm looking for an alternative to portainer that does not require authentication to manage my local docker.

@jrodriguesimg jrodriguesimg added the bug Something isn't working label Feb 3, 2023
@faulander
Copy link

i came here for this exact feature which portainer will not implement. So sad to see it's not working :/

@mkoertgen
Copy link

DISABLE_AUTH=True is definitively working for me.

Here is a working example that I am using in a docker-compose.yml

...
  yacht:
    image: selfhostedpro/yacht:v0.0.7-alpha-2023-01-12--05
    ports: ["8000:8000"]
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment: {"PUID":"0", "PGID":"0", "DISABLE_AUTH":"True"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants