Skip to content

Commit

Permalink
Added documentation about the DISABLE_IPV6 environment variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage committed Oct 25, 2020
1 parent 3c7f1a4 commit bdb91f3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ COPY rootfs/ /

# Set environment variables.
ENV APP_NAME="Nginx Proxy Manager" \
KEEP_APP_RUNNING=1
KEEP_APP_RUNNING=1 \
DISABLE_IPV6=0

# Define mountable directories.
VOLUME ["/config"]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ of this parameter has the format `<VARIABLE_NAME>=<VALUE>`.
|`KEEP_APP_RUNNING`| When set to `1`, the application will be automatically restarted if it crashes or if a user quits it. | `0` |
|`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) |
|`CLEAN_TMP_DIR`| When set to `1`, all files in the `/tmp` directory are deleted during the container startup. | `1` |
|`DISABLE_IPV6`| When set to `1`, IPv6 support is disabled. This is needed when IPv6 is not enabled/supported on the host. | `0` |

### Data Volumes

Expand Down
15 changes: 14 additions & 1 deletion appdefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,20 @@ Where:
</app>
<container>
<!-- Environment variables -->
<environment_variables/>
<environment_variables>
<environment_variable>
<name>DISABLE_IPV6</name>
<description>When set to `1`, IPv6 support is disabled. This is needed when IPv6 is not enabled/supported on the host.</description>
<default>0</default>
<unraid_template>
<title>Automatic Video Converter: Preset</title>
<description>When set to '1', IPv6 support is disabled.</description>
<display>advanced</display>
<required>false</required>
<mask>false</mask>
</unraid_template>
</environment_variable>
</environment_variables>
<!-- Volumes -->
<volumes/>
<!-- Network ports -->
Expand Down

0 comments on commit bdb91f3

Please sign in to comment.