- Introduced a new social-service in the Docker Compose configuration for local development, including build context, environment variables, and health checks. - Updated architecture documentation to reflect the new storage service structure and its components, including user storage quotas and file management. - Enhanced README files to provide clearer instructions on service setup, configuration, and API endpoints for file storage management. - Implemented caching mechanisms in the IAM service client for improved performance and reduced latency in user information retrieval. - Updated appsettings for development to include caching settings for IAM service interactions.
41 lines
972 B
Plaintext
41 lines
972 B
Plaintext
# Environment / Môi Trường
|
|
ASPNETCORE_ENVIRONMENT=Development
|
|
|
|
# Database / Cơ Sở Dữ Liệu
|
|
# PostgreSQL connection string (Neon or local)
|
|
DATABASE_URL=Host=localhost;Port=5432;Database=myservice_db;Username=postgres;Password=postgres
|
|
|
|
# Redis Cache
|
|
REDIS_URL=localhost:6379
|
|
REDIS_PASSWORD=
|
|
|
|
# JWT Authentication / Xác Thực JWT
|
|
JWT_SECRET=your-secret-key-min-32-characters-long-here
|
|
JWT_ISSUER=goodgo-platform
|
|
JWT_AUDIENCE=goodgo-services
|
|
JWT_ACCESS_TOKEN_EXPIRY_MINUTES=15
|
|
JWT_REFRESH_TOKEN_EXPIRY_DAYS=7
|
|
|
|
# API Configuration / Cấu Hình API
|
|
API_PORT=5000
|
|
API_BASE_PATH=/api/v1/myservice
|
|
|
|
# Observability / Quan Sát
|
|
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
|
|
OTEL_SERVICE_NAME=myservice
|
|
|
|
# Logging
|
|
LOG_LEVEL=Information
|
|
SEQ_URL=http://localhost:5341
|
|
|
|
# Feature Flags
|
|
FEATURE_SWAGGER_ENABLED=true
|
|
FEATURE_DETAILED_ERRORS=true
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_PERMITS_PER_MINUTE=100
|
|
RATE_LIMIT_QUEUE_LIMIT=10
|
|
|
|
# Health Checks
|
|
HEALTHCHECK_TIMEOUT_SECONDS=5
|