jc21 / docker-registry-ui

😎 A nice web interface for managing your Docker Registry images
MIT License
324 stars 71 forks source link

Can't assign PORT without breaking HEALTHCHECK #22

Open ScrumpyJack opened 3 years ago

ScrumpyJack commented 3 years ago

Love the simplicity here. Chosen this over Portus and others, as i prefer slim.

https://github.com/jc21/docker-registry-ui/blob/2643028aeda5b36bd01555e8954b7245017b75d1/src/backend/index.js#L8

If I assign PORT to something, i see that node listens on that port in the container, but the container's HEALTHCHECK fails as it's looking at PORT 80

https://github.com/jc21/docker-registry-ui/blob/2643028aeda5b36bd01555e8954b7245017b75d1/Dockerfile#L22