-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 1.25 KB
/
.env.example
File metadata and controls
30 lines (23 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# prefixd Environment Variables
# Copy this file to .env and customize for your deployment
# =============================================================================
# Authentication
# =============================================================================
# Bearer token for API/CLI authentication (required if auth.mode=bearer)
# Generate with: openssl rand -hex 32
PREFIXD_API_TOKEN=your-secret-token-here
# =============================================================================
# Database
# =============================================================================
# PostgreSQL connection string
# Format: postgres://user:password@host:port/database
DATABASE_URL=postgres://prefixd:your-secure-password@localhost:5432/prefixd
# PostgreSQL password (used by docker-compose)
POSTGRES_PASSWORD=your-secure-password
# =============================================================================
# Frontend (Next.js Dashboard)
# =============================================================================
# Backend API URL (server-side only, used by Next.js API proxy)
# In Docker Compose, this is set automatically to http://prefixd:8080
# For local development outside Docker, set to http://localhost:8080
# PREFIXD_API=http://localhost:8080