mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 08:49:38 +03:00
🐛 Bug Report: Unable to change CADDY PORT #118
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 (Jan 20, 2025).
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.
@stonith404 commented on GitHub (Jan 20, 2025):
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.@Math43 commented on GitHub (Jan 20, 2025):
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