From 20b618c70f78fdd33c86494e4787fa586d63ec9c Mon Sep 17 00:00:00 2001 From: Thanh Vu Date: Fri, 2 Jun 2023 14:00:54 +0700 Subject: [PATCH] docs: update troubleshooting for IPv6 --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 0861312fb..17e594ea1 100644 --- a/README.md +++ b/README.md @@ -198,3 +198,32 @@ Want to create a production ready docker image? Follow these steps: - Docker support - 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 + - '::' +```