chore: drop agent/plan docs, unify .env for Docker stack
Some checks failed
CI / build-and-test (pull_request) Has been cancelled

- Remove PLAN/agent instruction files; single root .env.example for DB + API
- Stack compose uses env_file .env; delete stack env example duplicate
- Refresh README, backend docs, API doc; trim gitignore/dockerignore

Made-with: Cursor
This commit is contained in:
Vaka.pro
2026-04-07 00:30:29 +03:00
parent 2cf01186e9
commit 007d899721
13 changed files with 100 additions and 672 deletions

View File

@@ -8,6 +8,8 @@ VITE_API_BASE_URL=http://localhost:3001
В коде SPA: `import.meta.env.VITE_API_BASE_URL`.
В Docker-стеке из репозитория образ фронта собирается с **`VITE_API_BASE_URL=/api`**: запросы идут на тот же origin, nginx проксирует `/api` на backend (см. `docker/nginx.frontend.conf`).
## 2. CORS
В dev-режиме бэкенд ожидает переменную: