Dockerizing the app (WIP)

This commit is contained in:
2025-12-09 16:12:58 +01:00
parent da3d6f123d
commit 52d568e924
10 changed files with 370 additions and 0 deletions
+34
View File
@@ -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