diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..42ae24f --- /dev/null +++ b/.env.example @@ -0,0 +1,41 @@ +# Gitea-Konfiguration für Issue-Management +GITEA_URL=https://your-gitea-instance.com +REPO_OWNER=your-username +REPO_NAME=furt +GITEA_TOKEN=your-gitea-token-here + +# Optional: Default-Assignee für Issues +DEFAULT_ASSIGNEE=your-username + +# Lua-Konfiguration +LUA_COMMAND=lua51 +LUA_VERSION=5.1 + +# Gateway-Konfiguration (für Entwicklung) +GATEWAY_PORT=8080 +GATEWAY_LOG_LEVEL=info + +# CORS-Konfiguration (comma-separated list) +# Development (default if not set): +# CORS_ALLOWED_ORIGINS=http://localhost:1313,http://127.0.0.1:1313 +# +# Production example: +# CORS_ALLOWED_ORIGINS=https://yourdomain.com,https://www.yourdomain.com +CORS_ALLOWED_ORIGINS=http://localhost:1313,http://127.0.0.1:1313 + +# Service-Ports (für lokale Entwicklung) +FORMULAR2MAIL_PORT=8081 +SAGJAN_PORT=8082 + +# SMTP-Konfiguration (für formular2mail) +SMTP_HOST=localhost +SMTP_PORT=25 +SMTP_USERNAME=noreply@example.com +SMTP_PASSWORD=secret-password +SMTP_FROM=noreply@example.com +SMTP_TO=admin@example.com + +# API-Schlüssel (generiere sichere Schlüssel für Produktion!) +HUGO_API_KEY=hugo-dev-key-change-in-production +ADMIN_API_KEY=admin-dev-key-change-in-production + diff --git a/.version_history b/.version_history index 6b53c99..b812d3c 100644 --- a/.version_history +++ b/.version_history @@ -9,4 +9,3 @@ 25a29c32,9b19b6a,main,2025-08-29T20:01:44Z,michael,git,lua-api 25a29c32,11ceb18,fix/service-detection,2025-09-02T16:36:07Z,michael,git,lua-api 25a29c32,c575d5e,main,2025-09-02T19:24:58Z,michael,git,lua-api -25a29c32,cec390e,main,2025-09-02T19:45:08Z,michael,git,lua-api