Skip to content

Commit

Permalink
Merge pull request #260 from tinola/main
Browse files Browse the repository at this point in the history
Update FreeBSD.md
  • Loading branch information
sinamics authored Dec 25, 2023
2 parents 2230857 + 68728c0 commit 60fd87e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/Installation/FreeBSD.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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://ZTNET_Controller_Web_UI_IP_ADDRESS:3000"
NEXTAUTH_SECRET="random_secret"
```
Expand All @@ -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.
See [Environment Variables](/installation/options#environment-variables) for more information.

0 comments on commit 60fd87e

Please sign in to comment.