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?