-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (21 loc) · 861 Bytes
/
.env.example
File metadata and controls
27 lines (21 loc) · 861 Bytes
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
# Script Manager - Environment Configuration
# Copy this file to .env and adjust values as needed
# Backend Configuration
API_PORT=8000
DATABASE_PATH=/app/data/scripts.db
# Security Configuration
# IMPORTANT: Change this in production! Generate with: openssl rand -hex 32
SECRET_KEY=your-secret-key-change-this-in-production
# CORS Configuration
# Comma-separated list of allowed origins for CORS
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# Logging Configuration
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Log format: text or json (json recommended for production with log aggregation)
LOG_FORMAT=text
# Frontend Configuration
VITE_API_URL=http://localhost:8000
# Optional: Script scanning directories
# These can be mounted as volumes in docker-compose.yml
SCRIPTS_ROOT_PATHS=/scripts:/opt/scripts:/mnt/scripts