Add configuration template files (.env.example, .dockerignore)

Added essential configuration templates that were missing from the
repository due to overly restrictive .gitignore patterns.

Changes to .gitignore:
- Added negation patterns for .env.example files
- Added negation patterns for .dockerignore files
- These are safe template files with placeholder values

Files added:
- .env.example (root): Main environment configuration template
- reports-app/backend/.env.example: Backend configuration template
- reports-app/frontend/.env.example: Frontend configuration template
- reports-app/telegram-bot/.env.example: Telegram bot config template
- reports-app/telegram-bot/.dockerignore: Docker build exclusions

These template files help developers quickly set up their local
development environment by copying and customizing them.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-25 15:26:47 +03:00
parent a7a1bef375
commit 0c782fc1e7
6 changed files with 313 additions and 1 deletions

112
.env.example Normal file
View File

@@ -0,0 +1,112 @@
# ROA2WEB Environment Variables Configuration
# Copy this file to .env and update with your actual values
# =============================================================================
# ORACLE DATABASE CONFIGURATION
# =============================================================================
# Oracle database connection
ORACLE_USER=your_oracle_username
ORACLE_PASSWORD=your_oracle_password
ORACLE_DSN=your_oracle_connection_string
# Oracle Instant Client Path (local development only)
INSTANTCLIENTPATH=/path/to/oracle/instantclient
# Database Connection Pool Settings
DB_MIN_CONNECTIONS=2
DB_MAX_CONNECTIONS=10
DB_CONNECTION_INCREMENT=1
# =============================================================================
# JWT AUTHENTICATION CONFIGURATION
# =============================================================================
# JWT Secret Key - CHANGE THIS IN PRODUCTION!
# Generate a secure key: python -c "import secrets; print(secrets.token_urlsafe(32))"
JWT_SECRET_KEY=your-super-secret-jwt-key-change-in-production
# JWT Algorithm
JWT_ALGORITHM=HS256
# Token Expiration Settings
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# =============================================================================
# AUTHENTICATION SETTINGS
# =============================================================================
# User data cache TTL (minutes)
AUTH_CACHE_TTL_MINUTES=15
# Rate Limiting Settings
RATE_LIMIT_MAX_REQUESTS=5
RATE_LIMIT_TIME_WINDOW=300
# =============================================================================
# LOGGING CONFIGURATION
# =============================================================================
# Log Level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
LOG_LEVEL=INFO
# =============================================================================
# FASTAPI APPLICATION SETTINGS
# =============================================================================
# FastAPI Development Settings
FASTAPI_HOST=127.0.0.1
FASTAPI_PORT=8000
FASTAPI_RELOAD=true
# CORS Settings
CORS_ORIGINS=["http://localhost:3000", "http://localhost:5173", "http://localhost:8080"]
# =============================================================================
# VUE.JS FRONTEND SETTINGS
# =============================================================================
# API Base URL for Vue.js frontend
VUE_APP_API_URL=http://localhost:8000
# Vue.js Development Server
VUE_DEV_PORT=3000
# =============================================================================
# DOCKER CONFIGURATION
# =============================================================================
# Docker Compose Settings
COMPOSE_PROJECT_NAME=roa2web
# Nginx Gateway Port
NGINX_PORT=8080
NGINX_SSL_PORT=8443
# =============================================================================
# PRODUCTION DEPLOYMENT
# =============================================================================
# Environment (development, staging, production)
ENVIRONMENT=development
# Security Settings
SECURE_SSL_REDIRECT=false
SESSION_COOKIE_SECURE=false
CSRF_COOKIE_SECURE=false
# Database Connection Timeout
DB_CONNECTION_TIMEOUT=30
# =============================================================================
# MONITORING & OBSERVABILITY
# =============================================================================
# Metrics and Monitoring
ENABLE_METRICS=false
METRICS_PORT=9090
# Health Check Settings
HEALTH_CHECK_TIMEOUT=10
HEALTH_CHECK_INTERVAL=30