wallabag / docker

Official docker-composer for wallabag.
608 stars 153 forks source link

IPv6 healthcheck fails #407

Open jtagcat opened 7 months ago

jtagcat commented 7 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 7 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"]