Dockerizing the app (WIP)
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
version: "3.4"
|
||||
|
||||
services:
|
||||
# Da brain
|
||||
agent-brain:
|
||||
build:
|
||||
context: ./brain
|
||||
dockerfile: Dockerfile
|
||||
env_file: .env
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
# Persistent data volumes (outside container /app)
|
||||
- agent-memory:/data/memory
|
||||
- agent-logs:/data/logs
|
||||
# Development: mount code for hot reload (comment out in production)
|
||||
# - ./brain:/app
|
||||
|
||||
# Da face
|
||||
frontend:
|
||||
build:
|
||||
context: ./librechat
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3080:3080"
|
||||
depends_on:
|
||||
- agent-brain
|
||||
|
||||
# Named volumes for persistent data
|
||||
volumes:
|
||||
agent-memory:
|
||||
driver: local
|
||||
agent-logs:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user