refactor: clean repository structure for v0.1.0 open source release
- Remove Go artifacts (cmd/, internal/, pkg/, go.mod) - Move furt-lua/* content to repository root - Restructure as clean src/, config/, scripts/, tests/ layout - Rewrite README.md as practical tool documentation - Remove timeline references and marketing language - Clean .gitignore from Go-era artifacts - Update config/server.lua with example.org defaults - Add .env.production to .gitignore for security Repository now ready for open source distribution with minimal, focused structure and generic configuration templates. close issue DAW/furt#86
This commit is contained in:
parent
87c935379b
commit
be3b9614d0
38 changed files with 280 additions and 5892 deletions
50
.env.production
Normal file
50
.env.production
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# furt-lua/.env.production
|
||||
# Production Environment Configuration Template
|
||||
|
||||
# =====================================
|
||||
# API KEYS (CHANGE THESE!)
|
||||
# =====================================
|
||||
# Generate secure keys: openssl rand -hex 32
|
||||
HUGO_API_KEY=daw-hugo-$(openssl rand -hex 16)
|
||||
ADMIN_API_KEY=daw-admin-$(openssl rand -hex 16)
|
||||
MONITORING_API_KEY=daw-monitor-$(openssl rand -hex 16)
|
||||
|
||||
# =====================================
|
||||
# SMTP CONFIGURATION
|
||||
# =====================================
|
||||
SMTP_HOST=mail.dragons-at-work.de
|
||||
SMTP_PORT=465
|
||||
SMTP_USERNAME=noreply@dragons-at-work.de
|
||||
SMTP_PASSWORD=your-secure-smtp-password-here
|
||||
SMTP_FROM=noreply@dragons-at-work.de
|
||||
SMTP_TO=michael@dragons-at-work.de
|
||||
|
||||
# =====================================
|
||||
# CORS CONFIGURATION (Production Domains)
|
||||
# =====================================
|
||||
CORS_ALLOWED_ORIGINS=https://dragons-at-work.de,https://www.dragons-at-work.de
|
||||
|
||||
# =====================================
|
||||
# GATEWAY CONFIGURATION
|
||||
# =====================================
|
||||
GATEWAY_HOST=127.0.0.1
|
||||
GATEWAY_PORT=8080
|
||||
GATEWAY_LOG_LEVEL=warn
|
||||
|
||||
# =====================================
|
||||
# SECURITY SETTINGS
|
||||
# =====================================
|
||||
# Test endpoint (disable in production)
|
||||
ENABLE_TEST_ENDPOINT=false
|
||||
|
||||
# Rate limiting (production values)
|
||||
RATE_LIMIT_API_KEY_MAX=60
|
||||
RATE_LIMIT_IP_MAX=100
|
||||
RATE_LIMIT_WINDOW=3600
|
||||
|
||||
# =====================================
|
||||
# DEVELOPMENT SETTINGS (Remove in production)
|
||||
# =====================================
|
||||
# DEBUG=false
|
||||
# LOG_REQUESTS=false
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue