Skip to content

Commit bdb91f3

Browse files
committed
Added documentation about the DISABLE_IPV6 environment variable.
1 parent 3c7f1a4 commit bdb91f3

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ COPY rootfs/ /
275275

276276
# Set environment variables.
277277
ENV APP_NAME="Nginx Proxy Manager" \
278-
KEEP_APP_RUNNING=1
278+
KEEP_APP_RUNNING=1 \
279+
DISABLE_IPV6=0
279280

280281
# Define mountable directories.
281282
VOLUME ["/config"]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ of this parameter has the format `<VARIABLE_NAME>=<VALUE>`.
8888
|`KEEP_APP_RUNNING`| When set to `1`, the application will be automatically restarted if it crashes or if a user quits it. | `0` |
8989
|`APP_NICENESS`| Priority at which the application should run. A niceness value of -20 is the highest priority and 19 is the lowest priority. By default, niceness is not set, meaning that the default niceness of 0 is used. **NOTE**: A negative niceness (priority increase) requires additional permissions. In this case, the container should be run with the docker option `--cap-add=SYS_NICE`. | (unset) |
9090
|`CLEAN_TMP_DIR`| When set to `1`, all files in the `/tmp` directory are deleted during the container startup. | `1` |
91+
|`DISABLE_IPV6`| When set to `1`, IPv6 support is disabled. This is needed when IPv6 is not enabled/supported on the host. | `0` |
9192

9293
### Data Volumes
9394

appdefs.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,20 @@ Where:
257257
</app>
258258
<container>
259259
<!-- Environment variables -->
260-
<environment_variables/>
260+
<environment_variables>
261+
<environment_variable>
262+
<name>DISABLE_IPV6</name>
263+
<description>When set to `1`, IPv6 support is disabled. This is needed when IPv6 is not enabled/supported on the host.</description>
264+
<default>0</default>
265+
<unraid_template>
266+
<title>Automatic Video Converter: Preset</title>
267+
<description>When set to '1', IPv6 support is disabled.</description>
268+
<display>advanced</display>
269+
<required>false</required>
270+
<mask>false</mask>
271+
</unraid_template>
272+
</environment_variable>
273+
</environment_variables>
261274
<!-- Volumes -->
262275
<volumes/>
263276
<!-- Network ports -->

0 commit comments

Comments
 (0)