You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
Bash
58 lines
1.2 KiB
Bash
# Database
|
|
POSTGRES_USER=knowfoolery
|
|
POSTGRES_PASSWORD=change-me
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=knowfoolery
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
|
|
# Zitadel (when auth profile is enabled)
|
|
ZITADEL_URL=http://localhost:8080
|
|
ZITADEL_PROJECT_ID=your-project-id
|
|
ZITADEL_CLIENT_ID=your-client-id
|
|
ZITADEL_PORT=8084
|
|
ZITADEL_MASTERKEY=replace-with-32-char-masterkey
|
|
ZITADEL_ORG_NAME=knowfoolery
|
|
ZITADEL_ADMIN_USERNAME=admin
|
|
ZITADEL_ADMIN_PASSWORD=change-me
|
|
|
|
# CockroachDB (for Zitadel)
|
|
CRDB_PORT=26257
|
|
CRDB_HTTP_PORT=9090
|
|
|
|
# Environment
|
|
ENVIRONMENT=development
|
|
LOG_LEVEL=debug
|
|
|
|
# Service Ports
|
|
GAME_SESSION_PORT=8080
|
|
QUESTION_BANK_PORT=8081
|
|
USER_SERVICE_PORT=8082
|
|
LEADERBOARD_PORT=8083
|
|
ADMIN_SERVICE_PORT=8085
|
|
GATEWAY_PORT=8086
|
|
GATEWAY_INTERNAL_PORT=18086
|
|
|
|
# Gateway
|
|
GATEWAY_PUBLIC_PREFIX=/api/v1
|
|
GATEWAY_ALLOWED_ORIGINS=http://localhost:5173
|
|
GATEWAY_RATE_WINDOW=1m
|
|
GATEWAY_RATE_GENERAL=100
|
|
GATEWAY_RATE_AUTH=5
|
|
GATEWAY_RATE_API=60
|
|
GATEWAY_RATE_ADMIN=30
|
|
|
|
# Observability ports (when observability profile is enabled)
|
|
PROMETHEUS_PORT=9091
|
|
GRAFANA_PORT=3000
|
|
JAEGER_UI_PORT=16686
|
|
JAEGER_COLLECTOR_PORT=14268
|
|
JAEGER_AGENT_PORT=6831
|
|
|
|
# Grafana (when observability profile is enabled)
|
|
GRAFANA_ADMIN_USER=admin
|
|
GRAFANA_ADMIN_PASSWORD=change-me
|