This commit is contained in:
mike
2025-12-12 19:25:16 +01:00
parent 5e0db89d45
commit 56b2db82fc
34 changed files with 117 additions and 6556 deletions

View File

@@ -86,7 +86,7 @@ services:
- full-cycle
- development
# Uncomment for development with hot reload
# command: watchmedo auto-restart --pattern="*.py" --recursive -- python main.py
# command: watchmedo auto-restart --pattern="*.py" --recursive -- python app/main.py
# Single command services for specific operations
index:
@@ -105,7 +105,7 @@ services:
- ${HOST_SOURCE_PATH:-/mnt/source}:/mnt/source:ro
- ./config:/app/config
- ./logs:/app/logs
command: ["python", "main.py", "index", "/mnt/source", "disk_d"]
command: ["python", "app/main.py", "index", "/mnt/source", "disk_d"]
profiles:
- index-only
networks:
@@ -127,7 +127,7 @@ services:
- ./config:/app/config
- ./plans:/app/plans
- ./logs:/app/logs
command: ["python", "main.py", "plan", "disk_d", "disk_e"]
command: ["python", "app/main.py", "plan", "disk_d", "disk_e"]
profiles:
- plan-only
networks:
@@ -151,7 +151,7 @@ services:
- ./plans:/app/plans
- ./config:/app/config
- ./logs:/app/logs
command: ["python", "main.py", "execute", "/app/plans/plan.json"]
command: ["python", "app/main.py", "execute", "/app/plans/plan.json"]
profiles:
- execute-only
networks:
@@ -173,7 +173,7 @@ services:
- ./plans:/app/plans
- ./config:/app/config
- ./logs:/app/logs
command: ["python", "main.py", "execute", "/app/plans/plan.json", "--dry-run"]
command: ["python", "app/main.py", "execute", "/app/plans/plan.json", "--dry-run"]
profiles:
- dry-run-only
networks:
@@ -194,7 +194,7 @@ services:
volumes:
- ./reports:/app/reports
- ./logs:/app/logs
command: ["python", "main.py", "report", "--format", "html"]
command: ["python", "app/main.py", "report", "--format", "html"]
profiles:
- report-only
networks: