|
| 1 | +# ========================================== |
| 2 | +# GLOBAL SETTINGS & SECURITY BOUNDS |
| 3 | +# ========================================== |
| 4 | +ENVIRONMENT=Development |
| 5 | +LOGGING_LEVEL=Information |
| 6 | + |
| 7 | +# Banking Thresholds (Configured via E2E .env) |
| 8 | +SECURITY_MAX_PAYLOAD_MB=5 |
| 9 | +SECURITY_REQUEST_TIMEOUT_SECONDS=10 |
| 10 | +CORS_ALLOWED_ORIGINS=http://localhost:8081,http://localhost:4200,http://localhost |
| 11 | + |
| 12 | +# Redis |
| 13 | +REDIS_CONNECTION=redis:6379 |
| 14 | + |
| 15 | +# RabbitMQ |
| 16 | +RABBITMQ_HOST=rabbitmq |
| 17 | +RABBITMQ_USER=guest |
| 18 | +RABBITMQ_PASS=guest |
| 19 | + |
| 20 | +# ElasticSearch (Serilog) |
| 21 | +ELASTICSEARCH_URI=http://elasticsearch:9200 |
| 22 | + |
| 23 | +# AWS S3 / LocalStack Mock |
| 24 | +AWS_REGION=us-east-1 |
| 25 | +AWS_ACCESS_KEY_ID=test |
| 26 | +AWS_SECRET_ACCESS_KEY=test |
| 27 | +AWS_ENDPOINT_URL=http://localstack:4566 |
| 28 | +AWS_S3_BUCKET=invoice-generator-c-boletos |
| 29 | + |
| 30 | +# CENTRAL LOGGING (Optional) |
| 31 | +LOGGING_FILE_PATH=logs/invoice-api.log |
| 32 | + |
| 33 | +# ========================================== |
| 34 | +# BACKEND SETTINGS (.NET 9) |
| 35 | +# ========================================== |
| 36 | +# Host bindings |
| 37 | +BACKEND_HOST_PORT=5283 |
| 38 | +BACKEND_CONTAINER_PORT=8080 |
| 39 | + |
| 40 | +# Database Credentials (SQL Server) |
| 41 | +DB_PASSWORD=SecurePassw0rd!_2026 |
| 42 | + |
| 43 | +# JWT/JWE Tokens Security |
| 44 | +JWT_SECRET=super_secret_jwt_key_that_must_be_long_enough_2026! |
| 45 | +JWE_SECRET=super_secret_jwe_key_that_must_be_very_long_and_secure_enough_2026! |
| 46 | + |
| 47 | +# Root Admin seeding |
| 48 | +ADMIN_USERNAME=vidigal |
| 49 | +ADMIN_EMAIL=admin@system.local |
| 50 | +ADMIN_PASSWORD=Admin@12345 |
| 51 | + |
| 52 | +# Anti-DDoS Rate Limiter Settings |
| 53 | +RATE_LIMIT_PERMITS=150 |
| 54 | +RATE_LIMIT_QUEUE=5 |
| 55 | +RATE_LIMIT_WINDOW_MINUTES=1 |
| 56 | + |
| 57 | +# ========================================== |
| 58 | +# FRONTEND SETTINGS (Angular 22) |
| 59 | +# ========================================== |
| 60 | +FRONTEND_HOST_PORT=8081 |
| 61 | +FRONTEND_CONTAINER_PORT=80 |
| 62 | +START_THEME=dark |
0 commit comments