Dev: run full system via main.py in compose; add config.compose.json pointing MQTT to 'mqtt' service and map /storage
This commit is contained in:
@@ -6,13 +6,13 @@ services:
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./api:/app
|
||||
- ./api/storage:/app/storage
|
||||
- ./api/storage:/storage
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
command: >
|
||||
sh -lc "
|
||||
if [ -f requirements.txt ]; then pip install --no-cache-dir -r requirements.txt; else pip install --no-cache-dir -e .; fi;
|
||||
uvicorn usda_vision_system.api.server:app --host 0.0.0.0 --port 8000 --reload
|
||||
python main.py --config config.compose.json
|
||||
"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
Reference in New Issue
Block a user