How to setup proper docker compose health check when using Joplin and reverse proxy?

Operating system

Linux

Joplin version

3.5.2

What issue do you have?

I am trying to insert a healthcheck in my joplin server that is running through docker compose.
The problem with this is that joplin has APP_BASE_URL which as far as I can tell can only be set to one value. I use traefik for my reverse proxy and if a docker container has a healthcheck it will only establish a reverse proxy connection if the container is healthy. Thus when setting a healthcheck I need to set this before the reverse proxy connection, which means that APP_BASE_URL has to be set to localhost as far as I can tell, but that means that traefik will no longer work since joplin.mydomain.com is not in APP_BASE_URL.

Does anyone have a solution to this problem?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.