-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
41 lines (38 loc) · 979 Bytes
/
docker-compose.dev.yml
File metadata and controls
41 lines (38 loc) · 979 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
36
37
38
39
40
41
# Development version - simpler setup for your 3 scripts
version: '3.8'
services:
# Just your Python AI scripts
lumina-dev:
build:
context: .
dockerfile: Dockerfile.dev
container_name: luminaai-dev
ports:
- "5001:5001" # ChatAI.py Flask server
- "8888:8888" # Jupyter notebook (optional)
volumes:
- .:/workspace # Mount your entire project
- ./models:/workspace/models
- ./data:/workspace/data
environment:
- PYTHONPATH=/workspace
- FLASK_ENV=development
- FLASK_DEBUG=1
working_dir: /workspace
command: python lumina_desktop.py # Main desktop server
restart: unless-stopped
stdin_open: true
tty: true
networks:
- dev-network
# Optional: Quick database for development
dev-db:
image: sqlite3:latest
container_name: luminaai-dev-db
volumes:
- ./dev_data:/data
networks:
- dev-network
networks:
dev-network:
driver: bridge