mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
server: use redis pubsub for interprocess websocket communication
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
server:
|
||||
build:
|
||||
context: .
|
||||
# server:
|
||||
# build:
|
||||
# context: .
|
||||
# ports:
|
||||
# - 1250:1250
|
||||
# environment:
|
||||
# LLM_URL: "${LLM_URL}"
|
||||
# MIN_TRANSCRIPT_LENGTH: "${MIN_TRANSCRIPT_LENGTH}"
|
||||
# volumes:
|
||||
# - model-cache:/root/.cache
|
||||
redis:
|
||||
image: redis:7.2
|
||||
ports:
|
||||
- 1250:1250
|
||||
environment:
|
||||
LLM_URL: "${LLM_URL}"
|
||||
MIN_TRANSCRIPT_LENGTH: "${MIN_TRANSCRIPT_LENGTH}"
|
||||
volumes:
|
||||
- model-cache:/root/.cache
|
||||
- 6379:6379
|
||||
|
||||
volumes:
|
||||
model-cache:
|
||||
|
||||
Reference in New Issue
Block a user