-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (35 loc) · 1.9 KB
/
Copy path.env.example
File metadata and controls
41 lines (35 loc) · 1.9 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
36
37
38
39
40
41
# VeloSim Environment Configuration
# Copy this file to .env and update with your values
# ============================================================================
# Routing Server Configuration (REQUIRED)
# ============================================================================
# GraphHopper Routing Server
# URL of the GraphHopper routing server
# For local development with Docker: http://localhost:8989
GRAPHHOPPER_URL=http://localhost:8989
# ============================================================================
# Database (REQUIRED)
# ============================================================================
# PostgreSQL connection string
# For local development with Docker: use localhost:5433
DATABASE_URL=postgresql://velosim:velosim@localhost:5433/velosim
# ============================================================================
# Frontend (OPTIONAL)
# ============================================================================
# Mapbox access token for map rendering
# Get your token from: https://account.mapbox.com/access-tokens/
# MAPBOX_ACCESS_TOKEN=your-mapbox-token-here
# Backend API URL (defaults to http://localhost:8000 if not set)
# BACKEND_URL=http://localhost:8000
# ============================================================================
# Logging (OPTIONAL)
# ============================================================================
# Disable Loki log push for local development (Loki is not started by dev:services)
# On Windows, leaving this enabled causes the backend to hang on every request
# because DNS resolution for the Docker-internal hostname blocks the event loop.
LOG_TO_LOKI=false
# ============================================================================
# Security (OPTIONAL)
# ============================================================================
# JWT secret for authentication (auto-generated if not set)
# VELOSIM_JWT_SECRET=your-secret-key-here