- Add ability to disable ipv6, fixes #312

- Added ipv6 listening to hosts when configured, fixes #236 and #149
- Added documentation about disabling ipv6
- Updated npm packages
This commit is contained in:
Jamie Curnow
2020-04-07 10:43:19 +10:00
parent 2a2d3d57ec
commit bdb591af9e
13 changed files with 1090 additions and 608 deletions

View File

@ -1,5 +1,19 @@
# Advanced Configuration
### Disabling IPv6
On some docker hosts IPv6 may not be enabled. In these cases, the following message may be seen in the log:
> Address family not supported by protocol
The easy fix is to add a Docker environment variable to the Nginx Proxy Manager stack:
```yml
environment:
DISABLE_IPV6: 'true'
```
### Custom Nginx Configurations
If you are a more advanced user, you might be itching for extra Nginx customizability.

View File

@ -6,7 +6,7 @@
Don't worry, this is easy to do.
The app requires a configuration file to let it know what database you're using. By default, this file is called config.json.
The app requires a configuration file to let it know what database you're using. By default, this file is called `config.json`
Here's an example configuration for `mysql` (or mariadb) that is compatible with the docker-compose example below:
@ -63,6 +63,9 @@ services:
- '443:443'
# Admin Web Port:
- '81:81'
environment:
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
# Make sure this config.json file exists as per instructions above:
- ./config.json:/app/config/production.json
@ -74,10 +77,10 @@ services:
image: jc21/mariadb-aria:10.4
restart: always
environment:
MYSQL_ROOT_PASSWORD: "npm"
MYSQL_DATABASE: "npm"
MYSQL_USER: "npm"
MYSQL_PASSWORD: "npm"
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
- ./data/mysql:/var/lib/mysql
```