Browse Source

env-example

Bernt Christian Egeland 7 months ago
parent
commit
827a5c4152
2 changed files with 9 additions and 1 deletions
  1. 8 0
      .env.example
  2. 1 1
      .gitignore

+ 8 - 0
.env.example

@@ -0,0 +1,8 @@
+# Database
+DATABASE_URL="postgresql://torqvoice:torqvoice@db:5432/torqvoice"
+
+# Authentication (generate with: openssl rand -hex 32)
+BETTER_AUTH_SECRET="your-secret-here"
+
+# App URL (used by both the app and Better Auth)
+NEXT_PUBLIC_APP_URL="http://localhost:3000"

+ 1 - 1
.gitignore

@@ -31,7 +31,7 @@ yarn-error.log*
 .pnpm-debug.log*
 
 # env files (can opt-in for committing if needed)
-.env*
+.env
 
 # vercel
 .vercel