improving structure

This commit is contained in:
gulimabr
2026-01-28 15:40:47 -03:00
parent 08825bf817
commit 1461168af6
6 changed files with 10 additions and 20 deletions

View File

@@ -5,9 +5,8 @@ services:
- "8000:8000"
volumes:
- ./backend:/app
- ./data:/app/data
environment:
- FRONTEND_ORIGIN=http://localhost:5173
env_file:
- ./.env
command: poetry run uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
frontend:
@@ -17,8 +16,8 @@ services:
volumes:
- ./frontend:/app
- /app/node_modules
environment:
- VITE_API_BASE_URL=http://localhost:8000
env_file:
- ./.env
command: pnpm dev --host 0.0.0.0 --port 5173
depends_on:
- backend