diff --git a/docs/docs/start/docker_install.md b/docs/docs/start/docker_install.md index 3ae72c5082..0e53c85f7d 100644 --- a/docs/docs/start/docker_install.md +++ b/docs/docs/start/docker_install.md @@ -235,6 +235,20 @@ The [Caddy](./docker.md#ssl-certificates) container will automatically generate Any persistent files generated by the Caddy container (such as certificates, etc) will be stored in the `caddy` directory within the external volume. +### Web Server Bind Address + +By default, the Dockerized InvenTree web server binds to all available network interfaces and listens for IPv4 traffic on port 8000. +This can be adjusted using the following environment variables: + +| Environment Variable | Default | +| --- | --- | --- | --- | +| INVENTREE_WEB_ADDR | 0.0.0.0 | +| INVENTREE_WEB_PORT | 8000 | + +These variables are combined in the [Dockerfile](../../../contrib/container/Dockerfile) to build the bind string passed to the InvenTree server on startup. + +To enable IPv6/Dual Stack support, set `INVENTREE_WEB_ADDR` to `[::]` when you create/start the container. + ### Demo Dataset To quickly get started with a [demo dataset](../demo.md), you can run the following command: