mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 22:52:58 +03:00
🐛 Bug Report: Unable to change CADDY PORT #397
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Math43 on GitHub.
Reproduction steps
Hello, when I try to change caddy port to something else from 80 (already used on my system) I can't access to setup.
Docker compose file:
.env file:
docker ps
docker logs
Expected behavior
Access to Pocked-ID through port 81
Actual Behavior
I can access to frontent on host:3000 but host:81 or host:80 give nothing.
@Math43 commented on GitHub:
Thanks @stonith404, I've revert to
CADDY_PORTon80, and only change expose port to3001:80and it's working much better !I think I was misdirected by Environnement variables section of the docs where it's indicated
If you want to change the exposed port of the container then you sould change this variable.forCADDY_PORT@stonith404 commented on GitHub:
You're exposing port
3000so it's accessible only on this port.CADDY_PORTis just inside the container.Try to keep
CADDY_PORTon80and change the exposed ports to7467:80. It should then listen on port7467.