forked from Team-StackUp/stackup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
17 lines (17 loc) · 1 KB
/
Copy path.env.example
File metadata and controls
17 lines (17 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
REALTIME_LISTEN_ADDR=:38020
REALTIME_RABBITMQ_URL=amqp://stackup:stackup@localhost:38050/
REALTIME_LOG_LEVEL=info
REALTIME_QUEUE_NAME=q.realtime.session.notify
REALTIME_SSE_PING_INTERVAL=30s
REALTIME_SSE_SLOW_CONSUMER_TIMEOUT=5s
REALTIME_SSE_BUFFER_SIZE=16
# 아래 3개는 Core 와 공유하는 값. 반드시 Core 와 동일하게 맞출 것.
# - REALTIME_JWT_SECRET == Core JWT_SECRET (stream 토큰 검증 키; 불일치 시 SSE/WS 인증 401)
# - REALTIME_INTERNAL_API_KEY == Core CORE_INTERNAL_API_KEY (WS 답변 프록시; AI 서버도 공유)
# - REALTIME_CORE_BASE_URL == Core 내부 REST 주소 (compose 내부에서는 http://backend:38010)
REALTIME_JWT_SECRET=local-development-jwt-secret-must-be-replaced
REALTIME_CORE_BASE_URL=http://localhost:38010
REALTIME_INTERNAL_API_KEY=local-development-internal-api-key
REALTIME_WS_WRITE_TIMEOUT=10s
# AI 음성 스트림 WS 프록시 대상 (compose 내부에서는 ws://ai:8000/internal/voice/stream)
REALTIME_AI_WS_URL=ws://ai:8000/internal/voice/stream