wallabag / docker

Official docker-composer for wallabag.
572 stars 150 forks source link

IPv6 healthcheck fails #407

Open jtagcat opened 3 months ago

jtagcat commented 3 months ago

With test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost/api/info"], same applies for previous healthcheck versions.

With latest docker upgrade on Ubuntu LTS, localhost started defaulting to IPv6 within the container. This causes the healthcheck to fail (and therefore disables routing by the reverse proxy).

AdamVig commented 3 months ago

@jtagcat @bfkss @Pummelfisch I was able to resolve this by replacing localhost with 127.0.0.1, i.e.:

healthcheck:
  test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://127.0.0.1/api/info"]