Update compose to run reflector locally

This commit is contained in:
2025-01-23 15:30:56 +01:00
parent 986f063857
commit 8d9aaeab36
3 changed files with 8 additions and 44 deletions

View File

@@ -1,4 +1,3 @@
version: "3.9"
services:
server:
build:
@@ -6,16 +5,22 @@ services:
ports:
- 1250:1250
volumes:
- model-cache:/root/.cache
- ./server/data/:/app/data/
env_file:
- ./server/.env
environment:
ENTRYPOINT: server
worker:
build:
context: server
volumes:
- model-cache:/root/.cache
- ./server/data/:/app/data/
env_file:
- ./server/.env
environment:
ENTRYPOINT: worker
redis:
image: redis:7.2
ports:
@@ -31,6 +36,3 @@ services:
- ./www:/app/
env_file:
- ./www/.env.local
volumes:
model-cache:

View File

@@ -1,27 +0,0 @@
version: "3.9"
services:
server:
build:
context: .
ports:
- 1250:1250
volumes:
- model-cache:/root/.cache
environment:
ENTRYPOINT: server
REDIS_HOST: redis
worker:
build:
context: .
volumes:
- model-cache:/root/.cache
environment:
ENTRYPOINT: worker
REDIS_HOST: redis
redis:
image: redis:7.2
ports:
- 6379:6379
volumes:
model-cache:

View File

@@ -1,11 +0,0 @@
version: "3.9"
services:
server:
build:
context: .
ports:
- 80:80
environment:
LLM_URL: "${LLM_URL}"
volumes:
- model-cache:/root/.cache