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

BASIC_AUTH_USERS doesn't work #29

Open
vosmax opened this issue Apr 10, 2019 · 1 comment
Open

BASIC_AUTH_USERS doesn't work #29

vosmax opened this issue Apr 10, 2019 · 1 comment

Comments

@vosmax
Copy link

vosmax commented Apr 10, 2019

Hi!
I've added BASIC_AUTH_USERS to environment variables as readme.md says, but when I'm opening UI page user authentication doesn't occur.

Steps:

  1. Add env var in docker-compose file to chartmusemui service
  2. docker-compose up
  3. Open chartmuseum ui page without required authentication (I able to upload and download charts)

UI and chartmuseum services are behind Nginx

Here is my docker-compose.yaml:

version: '2.0'
services:
   ui:
     image: idobry/chartmuseumui:latest
     environment:
      BASIC_AUTH_USERS: '[{"username":"admin", "password":"password"}, {"username":"user", "password":"s3cr3t"}]'
      CHART_MUSESUM_URL: "http://chartmuseum:8080"
     ports:
      - 3000:8080
   chartmuseum:
     image: chartmuseum/chartmuseum:latest
     volumes:
       - ~/.aws:/root/.aws:ro
     restart: always
     environment:
      PORT: 8080
      DEBUG: 1
      STORAGE: "amazon"
      STORAGE_AMAZON_BUCKET: "my-helm-charts"
      STORAGE_AMAZON_PREFIX: ""
      STORAGE_AMAZON_REGION: "eu-central-1"
     ports:
      - 8080:8080
@Runinterface
Copy link

Use this env AUTH_ANONYMOUS_GET: false

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

2 participants