base
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user