From faf8570438002a20d97394d39073dca8133f7d6e Mon Sep 17 00:00:00 2001 From: Bernt Christian Egeland Date: Sun, 3 Dec 2023 18:33:36 +0000 Subject: [PATCH] NEXTAUTH_URL note --- docs/ztnet/docs/Installation/docker-compose.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/ztnet/docs/Installation/docker-compose.md b/docs/ztnet/docs/Installation/docker-compose.md index 8e26cfd6..e53254d6 100644 --- a/docs/ztnet/docs/Installation/docker-compose.md +++ b/docs/ztnet/docs/Installation/docker-compose.md @@ -14,6 +14,14 @@ sidebar_position: 1 ### Setup +:::info + +Change the **NEXTAUTH_URL** environment variable to the canonical URL or IP of your site. +**Example:** +- If your server's IP address is 123.456.78.90, set NEXTAUTH_URL to http://123.456.78.90:3000. +- If you have a domain name, use it in place of the IP address. +::: + ```yml title="Create a docker-compose.yml file and populate it as follows:" version: "3.1" services: