e4dcfc49aa
Tests / Lint and Format (push) Waiting to run
Tests / Web Node Tests (push) Waiting to run
Tests / Import Check (Python 3.11) (push) Waiting to run
Tests / Import Check (Python 3.12) (push) Waiting to run
Tests / Import Check (Python 3.13) (push) Waiting to run
Tests / Import Check (Python 3.14) (push) Waiting to run
Tests / Python Tests (Python 3.11) (push) Blocked by required conditions
Tests / Python Tests (Python 3.12) (push) Blocked by required conditions
Tests / Python Tests (Python 3.13) (push) Blocked by required conditions
Tests / Python Tests (Python 3.14) (push) Blocked by required conditions
Tests / Test Summary (push) Blocked by required conditions
52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
# ============================================
|
|
# DeepTutor Docker Compose - Development Override
|
|
# ============================================
|
|
# Use with: python scripts/docker_compose.py -f docker-compose.yml -f docker-compose.dev.yml up
|
|
#
|
|
# This override file provides:
|
|
# - Hot-reload for both frontend and backend
|
|
# - Source code mounting for live editing
|
|
# - Development-friendly logging
|
|
# ============================================
|
|
|
|
services:
|
|
pocketbase:
|
|
volumes:
|
|
- ./data/pocketbase:/pb/pb_data
|
|
|
|
deeptutor:
|
|
build:
|
|
target: development
|
|
|
|
volumes:
|
|
# Mount backend source code for hot-reload
|
|
- ./deeptutor:/app/deeptutor:ro
|
|
- ./deeptutor_cli:/app/deeptutor_cli:ro
|
|
- ./scripts:/app/scripts:ro
|
|
|
|
# Mount frontend source for hot-reload
|
|
- ./web/app:/app/web/app:ro
|
|
- ./web/components:/app/web/components:ro
|
|
- ./web/lib:/app/web/lib:ro
|
|
- ./web/hooks:/app/web/hooks:ro
|
|
- ./web/context:/app/web/context:ro
|
|
- ./web/i18n:/app/web/i18n:ro
|
|
- ./web/locales:/app/web/locales:ro
|
|
- ./web/public:/app/web/public:ro
|
|
|
|
# Mount data directories (writable) - output to local ./data
|
|
- ./data/user:/app/data/user
|
|
- ./data/memory:/app/data/memory
|
|
- ./data/knowledge_bases:/app/data/knowledge_bases
|
|
|
|
# In development, we might want to see logs directly
|
|
# Uncomment the following to disable log files and see everything in console
|
|
# logging:
|
|
# driver: "json-file"
|
|
# options:
|
|
# max-size: "10m"
|
|
# max-file: "3"
|
|
|
|
networks:
|
|
- deeptutor-network
|