From b4db38ef703565f6bdbad375121c41e7da63fe14 Mon Sep 17 00:00:00 2001 From: tinola Date: Mon, 25 Dec 2023 19:09:09 +0100 Subject: [PATCH 1/3] Update FreeBSD.md FreeBSD ports of PostgreSQL version has been switched from 13 to 15. --- docs/docs/Installation/FreeBSD.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/Installation/FreeBSD.md b/docs/docs/Installation/FreeBSD.md index a6ed61ea..f00e6e1a 100644 --- a/docs/docs/Installation/FreeBSD.md +++ b/docs/docs/Installation/FreeBSD.md @@ -13,7 +13,7 @@ First, make sure PostgreSQL and ZeroTier are installed and configured on your Fr ```bash pkg update pkg install zerotier protobuf curl git node -pkg install postgresql13-server postgresql13-contrib +pkg install postgresql15-server postgresql15-contrib sysrc postgresql_enable=yes service postgresql initdb service postgresql start @@ -101,4 +101,4 @@ setenv PRISMA_QUERY_ENGINE_LIBRARY /root/prisma-engines/target/release/libquery_ ``` ## Ztnet Environment Variables -See [Environment Variables](/installation/options#environment-variables) for more information. \ No newline at end of file +See [Environment Variables](/installation/options#environment-variables) for more information. From 64039d2e177bc33d471ec9d5992967d61146c529 Mon Sep 17 00:00:00 2001 From: tinola Date: Mon, 25 Dec 2023 19:17:13 +0100 Subject: [PATCH 2/3] Update FreeBSD.md --- docs/docs/Installation/FreeBSD.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/Installation/FreeBSD.md b/docs/docs/Installation/FreeBSD.md index f00e6e1a..cc7372a6 100644 --- a/docs/docs/Installation/FreeBSD.md +++ b/docs/docs/Installation/FreeBSD.md @@ -73,9 +73,9 @@ setenv PRISMA_QUERY_ENGINE_LIBRARY /root/prisma-engines/target/release/libquery_ 5. Create a `.env` file in the root directory and populate it with the necessary environment variables. Make sure these match what you've set up in your PostgreSQL database. ``` DATABASE_URL=postgresql://postgres:postgres@localhost:5432/ztnet?schema=public - ZT_ADDR=http://localhost:9993 + ZT_ADDR=http://127.0.0.1:9993 NEXT_PUBLIC_SITE_NAME=ZTnet - NEXTAUTH_URL="http://localhost:3000" + NEXTAUTH_URL="http://:3000" NEXTAUTH_SECRET="random_secret" ``` From 68728c0df710f0ea81c01dcc1b0194f19793f6cc Mon Sep 17 00:00:00 2001 From: tinola Date: Mon, 25 Dec 2023 19:20:10 +0100 Subject: [PATCH 3/3] Update FreeBSD.md --- docs/docs/Installation/FreeBSD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/Installation/FreeBSD.md b/docs/docs/Installation/FreeBSD.md index cc7372a6..9c1e867c 100644 --- a/docs/docs/Installation/FreeBSD.md +++ b/docs/docs/Installation/FreeBSD.md @@ -75,7 +75,7 @@ setenv PRISMA_QUERY_ENGINE_LIBRARY /root/prisma-engines/target/release/libquery_ DATABASE_URL=postgresql://postgres:postgres@localhost:5432/ztnet?schema=public ZT_ADDR=http://127.0.0.1:9993 NEXT_PUBLIC_SITE_NAME=ZTnet - NEXTAUTH_URL="http://:3000" + NEXTAUTH_URL="http://ZTNET_Controller_Web_UI_IP_ADDRESS:3000" NEXTAUTH_SECRET="random_secret" ```