roadrecon / docker-compose.yml
k25kar's picture
M10: seed data + Docker one-command demo + README polish
42bab8a
Raw
History Blame Contribute Delete
551 Bytes
services:
backend:
build: ./backend
ports:
- "8000:8000"
volumes:
# Persist downloaded weights (and avoid re-downloading on every boot).
- ./backend/models_weights:/app/models_weights
environment:
- ROADRECON_DB_URL=sqlite:////app/roadrecon.db
frontend:
build:
context: ./frontend
args:
# The browser calls the backend on the host; override if backend is published elsewhere.
VITE_API_BASE: http://localhost:8000
ports:
- "5173:80"
depends_on:
- backend