31 lines
635 B
Bash
31 lines
635 B
Bash
# Competition Service Configuration
|
|
|
|
# gRPC server port
|
|
COMPETITION_GRPC_PORT=50053
|
|
|
|
# Enable/disable gRPC reflection
|
|
COMPETITION_GRPC_ENABLE_REFLECTION=true
|
|
|
|
# HTTP server port (if applicable)
|
|
COMPETITION_HTTP_PORT=8082
|
|
|
|
# Log level (e.g., debug, info, warn, error)
|
|
LOG_LEVEL=info
|
|
|
|
# PostgreSQL database connection
|
|
POSTGRES_HOST=postgres
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_USERNAME=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DATABASE=postgres
|
|
|
|
# Address of the authentication gRPC service
|
|
AUTH_SVC_ADDR=auth:50052
|
|
|
|
# Redis connection for caching
|
|
REDIS_ADDR=redis:6379
|
|
REDIS_PASSWORD=
|
|
REDIS_DB=0
|
|
|
|
# Enable/disable caching
|
|
CACHE_ENABLED=true |