27 lines
493 B
Bash
27 lines
493 B
Bash
|
|
# Environment Configuration Example
|
||
|
|
# Copy this file to .env and customize as needed
|
||
|
|
|
||
|
|
# Server Configuration
|
||
|
|
PORT=8080
|
||
|
|
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
|