Initial commit: mini-erp (backend FastAPI + frontend React/Vite)
Base para el flujo de ramas por cliente. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
commit
ab3c613165
154 files changed
+16872
No files matched your search
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: ./mini-backend
|
||||
args:
|
||||
TZ: ${TZ:-America/Lima}
|
||||
ports:
|
||||
- "8000:8000"
|
||||
env_file:
|
||||
- ./mini-backend/.env
|
||||
volumes:
|
||||
# Se lee del disco en cada request (routers/permissions.py), no se
|
||||
# cachea en memoria: editar este archivo en el host y guardarlo ya
|
||||
# aplica el cambio, sin reiniciar el contenedor.
|
||||
- ./mini-backend/menu_permissions.json:/app/menu_permissions.json:ro
|
||||
- ./mini-backend/logs:/app/logs
|
||||
restart: always
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./mini-frontend
|
||||
args:
|
||||
VITE_API_URL: ${VITE_API_URL:-http://localhost:8000}
|
||||
TZ: ${TZ:-America/Lima}
|
||||
ports:
|
||||
- "80:80"
|
||||
depends_on:
|
||||
- backend
|
||||
restart: always
|
||||
Reference in new issue
Block a user