kwk / docker-registry-frontend

Browse and modify your Docker registry in a browser.
https://registry.hub.docker.com/u/konradkleine/docker-registry-frontend/
MIT License
1.68k stars 616 forks source link

ENV_MODE_BROWSE_ONLY ignored #198

Open boldt opened 6 years ago

boldt commented 6 years ago

The flag ENV_MODE_BROWSE_ONLY=false seems to be ignored.

izonder commented 6 years ago

The same problem. As a workaround enter the container and remove/rename /var/www/html/app-mode.json

mgrundkoetter commented 6 years ago

From the readme file:

NOTE For now ENV_MODE_BROWSE_ONLY will be overwritten to true.

greedyL commented 6 years ago

The same problem. As a workaround enter the container and remove/rename /var/www/html/app-mode.json

i tried it,but it didnt work. After remove the app-mode.json,i can see the delete button on the page,but the button didnt work.I feel so upset.

gatement commented 5 years ago

why "For now ENV_MODE_BROWSE_ONLY will be overwritten to true"?

boldt commented 5 years ago

My workaround: I copied the docker-site.conf from the container and I commented the following:

#  <IfDefine FRONTEND_BROWSE_ONLY_MODE>
#    <Location />
#      <LimitExcept GET>
#        Order Allow,Deny
#        Deny From All
#      </LimitExcept>
#    </Location>
#  </IfDefine>
entmike commented 5 years ago

Is this app still being actively developed on? It seems really nice but just wondering.