feat[docker]: add disable auth option for local development, can freely navigate pages

This commit is contained in:
Waleed Latif
2025-03-17 17:16:26 -07:00
parent aa960afad8
commit b95707f29c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ services:
- POSTGRES_URL=postgresql://postgres:postgres@db:5432/simstudio
- BETTER_AUTH_URL=http://localhost:3000
- NEXT_PUBLIC_APP_URL=http://localhost:3000
- NEXT_PUBLIC_DISABLE_AUTH=true
depends_on:
- db
command: npm run dev
+1
View File
@@ -4,6 +4,7 @@ DATABASE_URL="postgresql://postgres:password@localhost:5432/postgres"
# Authentication (Required)
BETTER_AUTH_SECRET=your_secret_key # Use `openssl rand -hex 32` to generate, or visit https://www.better-auth.com/docs/installation
BETTER_AUTH_URL=http://localhost:3000
# NEXT_PUBLIC_DISABLE_AUTH=true # Uncomment to disable authentication for local development
# Email Provider (Optional)
# RESEND_API_KEY= # Uncomment and add your key from https://resend.com to send actual emails