-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (30 loc) · 1.56 KB
/
.env.example
File metadata and controls
35 lines (30 loc) · 1.56 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
31
32
33
34
35
# =============================================================================
# LOCAL DEVELOPMENT CONFIGURATION (.env)
# =============================================================================
# This file is for LOCAL development only (npm run dev)
# For Docker production, settings are in docker-compose.yml
#
# IMPORTANT: Development uses a SEPARATE database to protect production data
# =============================================================================
# Local Development Database (uses port 5433 to avoid conflict with Docker production)
# Start dev database: docker compose -f docker-compose.dev.yml up -d
DATABASE_URL=postgres://filadex_dev:filadex_dev@localhost:5433/filadex_dev
PORT=5001
# Application Configuration
LOG_LEVEL=INFO # Options: DEBUG, INFO, WARN, ERROR
# Admin User Configuration
ADMIN_PASSWORD=admin
# AI Features (Optional)
# You can set this globally here OR per-user in the app settings
OPENAI_API_KEY=
# =============================================================================
# DOCKER PRODUCTION NOTES (docker-compose.yml)
# =============================================================================
# Docker production uses completely separate configuration:
# - Database: internal 'db' container (not exposed to host)
# - Port: 8080
# - Database URL: postgres://filadex:filadex@db:5432/filadex
#
# For Docker mobile uploads, set HOST_IP in docker-compose.yml to your local IP
# Find your IP: macOS: ifconfig | grep "inet " | Windows: ipconfig
# =============================================================================