Merge pull request #185 from ahiho/fix/ipv6
docs: update troubleshooting for IPv6
This commit is contained in:
29
README.md
29
README.md
@@ -198,3 +198,32 @@ Want to create a production ready docker image? Follow these steps:
|
|||||||
|
|
||||||
- Docker support
|
- Docker support
|
||||||
- One-Click-Deploy on Render.com Deploy
|
- One-Click-Deploy on Render.com Deploy
|
||||||
|
|
||||||
|
# Troubleshooting
|
||||||
|
|
||||||
|
## Support IPv6
|
||||||
|
|
||||||
|
In case you are deploying to a cluster that uses only IPv6. You can use a custom command to pass a parameter to the NextJS start command
|
||||||
|
|
||||||
|
For local docker run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run -it documenso:latest npm run start -- -H ::
|
||||||
|
```
|
||||||
|
|
||||||
|
For k8s or docker-compose
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
containers:
|
||||||
|
- name: documenso
|
||||||
|
image: documenso:latest
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
command:
|
||||||
|
- npm
|
||||||
|
args:
|
||||||
|
- run
|
||||||
|
- start
|
||||||
|
- --
|
||||||
|
- -H
|
||||||
|
- '::'
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user