mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 01:10:09 +03:00
Health check failing when IPv6 enabled #749
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Caros2017 on GitHub.
I think I messed up with my pull request, so now I am making an issue for it.
Subject of the issue
When I enabled IPv6 I later realized that the healthcheck of the container was failing.
Setting
ROCKET_ADDRESS=::in docker-compose gives the error:So to be able to use IPv6
ROCKET_ADDRESSneeds to be set to::0ROCKET_ADDRESS=::0In bash
::doesn't equal::0and hence my healthcheck is failing, since it isn't rewritten to localhostSolution
In
docker/healtcheck.shchange this:To this:
@stefan0xC commented on GitHub:
You could also escape the string. I.e. if you use a YAML list, you can quote the whole line in your
docker-compose.yml:Alternatively you could also specify the environment variables as a dictionary like this:
Just be aware that
docker-composewill interpret them differently, which is why I suggest you check your config with:docker-compose config.@Caros2017 commented on GitHub:
Thanks! Will use this instead!