forked from web-development-mart/microservicesWithPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (28 loc) · 989 Bytes
/
Copy path.env.example
File metadata and controls
35 lines (28 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Infrastructure
POSTGRES_USER=gamehub
POSTGRES_PASSWORD=gamehub_pass
# Per-service databases
USER_DB=user_db
GAME_DB=game_db
ACTIVITY_DB=activity_db
LOGGING_DB=logging_db
# Redis
REDIS_URL=redis://redis:6379
# RabbitMQ
RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672/
# Auth service (Module 6+) — runs locally on port 8005
AUTH_SERVICE_URL=http://localhost:8005
AUTH_SECRET_KEY=change_me_in_prod
JWT_ALGORITHM=HS256
# Service URLs (for inter-service communication)
USER_SERVICE_URL=http://user-service:8001
GAME_SERVICE_URL=http://game-service:8002
ACTIVITY_SERVICE_URL=http://activity-service:8003
NOTIFICATION_SERVICE_URL=http://localhost:8004
LOGGING_SERVICE_URL=http://logging-service:8006
# OTEL
OTEL_EXPORTER_OTLP_ENDPOINT=http://jaeger:4317
OTEL_SERVICE_NAME=undefined # overridden per service
# Local development (Modules 1-3: no Docker, use SQLite)
# Each service uses a local SQLite file when DATABASE_URL is not set.
# Example: DATABASE_URL=sqlite:///./user_service.db