course-service 0.2.0

Course Service — a course-administration microservice modelled on schema.org/Course; interoperates with the course-matcher crate
# Course Service — Environment Configuration Example
# Copy this to .env and update with local values.

# Database — match the docker-compose POSTGRES_* defaults.
DATABASE_URL=postgresql://course_user:course_password@localhost:5434/course
DATABASE_MAX_CONNECTIONS=10
DATABASE_MIN_CONNECTIONS=2

# Server
SERVER_HOST=0.0.0.0
SERVER_PORT=8080
GRPC_PORT=50054

# Search index (Tantivy)
SEARCH_INDEX_PATH=./data/search_index

# Matching threshold (probabilistic). 0.85 is the default per spec §6.
MATCHING_THRESHOLD=0.85

# Observability
RUST_LOG=info,sqlx=warn
OTLP_SERVICE_NAME=course-service
OTLP_ENDPOINT=http://localhost:4317