2025-10-20 08:54:21 +01:00
|
|
|
# Environment Configuration Example
|
|
|
|
|
# Copy this file to .env and customize as needed
|
|
|
|
|
|
|
|
|
|
# Server Configuration
|
2025-10-29 14:04:24 +00:00
|
|
|
PORT=1999
|
2025-10-20 08:54:21 +01:00
|
|
|
HOST=localhost
|
|
|
|
|
GO_ENV=development
|
|
|
|
|
|
|
|
|
|
# Template Configuration
|
|
|
|
|
TEMPLATE_DIR=templates
|
|
|
|
|
PARTIALS_DIR=templates/partials
|
|
|
|
|
TEMPLATE_HOT_RELOAD=true
|
|
|
|
|
|
|
|
|
|
# Data Configuration
|
|
|
|
|
DATA_DIR=data
|
|
|
|
|
|
|
|
|
|
# Server Timeouts (seconds)
|
|
|
|
|
READ_TIMEOUT=15
|
|
|
|
|
WRITE_TIMEOUT=15
|
|
|
|
|
|
|
|
|
|
# Production Settings
|
|
|
|
|
# Uncomment for production:
|
|
|
|
|
# GO_ENV=production
|
|
|
|
|
# TEMPLATE_HOT_RELOAD=false
|
|
|
|
|
# READ_TIMEOUT=30
|
|
|
|
|
# WRITE_TIMEOUT=30
|