Skip to content

Commit db6a8c5

Browse files
strideraclaude
andcommitted
chore: update dev config for native PostgreSQL and local domain names
Switch DATABASE_URL from Docker credentials to native peer auth, and update CORS/callback URLs to use dev.local domains. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 296254a commit db6a8c5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.env.development

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Copy this to .env for local development
33

44
# Database Configuration
5-
DATABASE_URL="postgresql://muditor:password@localhost:5432/fierydev"
6-
DATABASE_URL_TEST="postgresql://muditor:password@localhost:5432/muditor_test"
5+
DATABASE_URL="postgresql://strider@localhost:5432/fierydev"
6+
DATABASE_URL_TEST="postgresql://strider@localhost:5432/muditor_test"
77

88
# Redis Configuration
99
REDIS_URL="redis://localhost:6379"
@@ -17,10 +17,10 @@ API_PORT=3001
1717
API_HOST="localhost"
1818
GRAPHQL_PLAYGROUND=true
1919
GRAPHQL_DEBUG=true
20-
CORS_ORIGIN="http://localhost:3000"
20+
CORS_ORIGIN="http://muditor.dev.local"
2121

2222
# Web Application Configuration
23-
NEXTAUTH_URL="http://localhost:3000"
23+
NEXTAUTH_URL="http://muditor.dev.local"
2424
NEXTAUTH_SECRET="dev-nextauth-secret-change-in-production"
2525

2626
# Environment
@@ -42,7 +42,7 @@ FIERYMUD_ADMIN_TOKEN="nBq/4wYoV7Twa/QuhCHtRoLbkdx42PKlhcZZeBbDaNE="
4242
# Google OAuth (set real values in .env.development.local)
4343
GOOGLE_CLIENT_ID=""
4444
GOOGLE_CLIENT_SECRET=""
45-
GOOGLE_CALLBACK_URL="http://localhost:3001/api/auth/google/callback"
45+
GOOGLE_CALLBACK_URL="http://muditor-api.dev.local/api/auth/google/callback"
4646

4747
# Development Features
4848
ENABLE_SCRIPT_SANDBOX=true

0 commit comments

Comments
 (0)