I would like to add a healthcheck to my container.
Something similar has been tried in #485, but there is no more activity
The desired way to do that is immich-healthcheck inside the container. This script is maintained by the immich team and already part of your image. It does use IMMICH_PORT (defaults to 2283) and IMMICH_HOST (defaults to localhost) if set.
Unfortunately it's not working due to a lack of IMMICH_PORT as default doesn't match your image.
IMMICH_PORT/HOST have been replaced by SERVER_PORT/HOST recently.
Maybe the easiest approach would be to set IMMICH_PORT and IMMICH_HOST as a copy of SERVER_PORT and SERVER_HOST if given?
I would like to add a healthcheck to my container.
Something similar has been tried in #485, but there is no more activity
The desired way to do that is
immich-healthcheckinside the container. This script is maintained by the immich team and already part of your image. It does useIMMICH_PORT(defaults to 2283) andIMMICH_HOST(defaults tolocalhost) if set.Unfortunately it's not working due to a lack of
IMMICH_PORTas default doesn't match your image.IMMICH_PORT/HOSThave been replaced bySERVER_PORT/HOSTrecently.Maybe the easiest approach would be to set
IMMICH_PORTandIMMICH_HOSTas a copy ofSERVER_PORTandSERVER_HOSTif given?