forked from ricky-chaoju/lmstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.deploy.yml
More file actions
35 lines (32 loc) · 851 Bytes
/
docker-compose.deploy.yml
File metadata and controls
35 lines (32 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# LMStack Server Deployment
# Backend + Frontend only (no database, uses SQLite)
# Usage: docker compose -f docker-compose.deploy.yml up -d
services:
server:
image: infinirc/lmstack-backend:latest
container_name: lmstack-backend
ports:
- "8088:8000"
volumes:
- lmstack-data:/app/data
environment:
- LMSTACK_SECRET_KEY=${SECRET_KEY:-change-me-in-production}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
frontend:
image: infinirc/lmstack-frontend:latest
container_name: lmstack-frontend
ports:
- "3000:80"
environment:
- VITE_API_URL=http://localhost:8088
depends_on:
- server
restart: unless-stopped
volumes:
lmstack-data:
driver: local