34 lines
669 B
YAML
34 lines
669 B
YAML
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 |