diff --git a/docs/installation/docker.md b/docs/installation/docker.md index 6d9148dd..500f39dd 100644 --- a/docs/installation/docker.md +++ b/docs/installation/docker.md @@ -14,7 +14,7 @@ services: - 3000:3000 volumes: - /path/to/config:/app/config # Make sure your local config directory exists - - /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations + - /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations environment: HOMEPAGE_ALLOWED_HOSTS: gethomepage.dev # required, may need port. See gethomepage.dev/installation/#homepage_allowed_hosts ``` @@ -36,7 +36,7 @@ services: - 3000:3000 volumes: - /path/to/config:/app/config # Make sure your local config directory exists - - /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations, see alternative methods + - /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations, see alternative methods environment: HOMEPAGE_ALLOWED_HOSTS: gethomepage.dev # required, may need port. See gethomepage.dev/installation/#homepage_allowed_hosts PUID: $PUID diff --git a/docs/troubleshooting/index.md b/docs/troubleshooting/index.md index c62337e9..e5dc83df 100644 --- a/docs/troubleshooting/index.md +++ b/docs/troubleshooting/index.md @@ -68,7 +68,19 @@ All service widgets work essentially the same, that is, homepage makes a proxied If, after correctly adding and mapping your custom icons via the [Icons](../configs/services.md#icons) instructions, you are still unable to see your icons please try recreating your container. -## Disabling IPv6 +## Enabling IPv6 for the homepage container + +To enable IPv6 support for the homepage container, you can set the `HOSTNAME` environment variable, for example: + +```yaml +services: + homepage: + ... + environment: + - HOSTNAME=:: +``` + +## Disabling IPv6 for http requests {#disabling-ipv6} If you are having issues with certain widgets that are unable to reach public APIs (e.g. weather), in certain setups you may need to disable IPv6. You can set the environment variable `HOMEPAGE_PROXY_DISABLE_IPV6` to `true` to disable IPv6 for the homepage proxy.