mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
🐛 Bug Report: Pocket-id is not discovered as a container by traefik using labels - probably healthcheck related #293
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 @ArthurHuyghe on GitHub.
Reproduction steps
I followed the installation instructions from the documentation, copied compose.yml and .env and changed the necessary variables. Pocket-id did not install successfully, so I searched through the discussions and issues on github and on the internet for solutions, but did not found any that worked.
Expected behavior
The docker container should be detected by treafik and pocket-id should be able to be setup .
Actual Behavior
The container starts up, the logs show no errors, but it isn't picked up by treafik. I manually added pocket-id to treafiks static config-file, and now when I surf to pocket-id, I get an error stating something critical went wrong and
Failed to get application configuration: connect ECONNREFUSED 127.0.0.1:8080appears in the logs. After a while the healtcheck fails aswell. When I curlpocket-id:8080from another container, it returnsHTTP/1.1 404 Not Found.Version and Environment
Version information:
Compose-file:
.env-file:
traefiks config.yml:
Log Output
I couldn't find any other log-files.
@stonith404 commented on GitHub:
I'm converting this to a discussion as this is configuration related and probably not a bug of Pocket ID.
@ArthurHuyghe commented on GitHub:
I believe I found the solution, while debugging why the container didn't show up for traefik using labels, I changed the
HOST-variable. When I changed it back to0.0.0.0I could acces pocket-id and start setting it up.However, the pocket-id container still isn't discovered by traefik using the labels in the compose.yml, even though other containers are being discovered with the same labels.
The healthchecks still break after a few minutes, I believe this is because the healtcheck url is incorrect. Where should I point the healthchecks to?
I believe these two things are related and my hypothesis for why traefik doen't show pocket-id is because the healtchecks report it as unhealthy and therefor traefik doesn't want to serve it.