chore: фронт :3107, API :3001 (Docker, Vite, CORS, доки)
- compose: testing-web 3107:80, testing-backend 3001:3001, PORT+FRONTEND_URL - nginx → testing-backend:3001; Vite 3107, proxy /api → 3001 - server default PORT 3001; Dockerfile EXPOSE 3001; CORS dev — localhost:3107 - README, журнал, user guide Made-with: Cursor
This commit is contained in:
@@ -24,6 +24,9 @@ DATABASE_URL=postgresql://hr_bot_user:hrbot123@localhost:5432/clinic_tests
|
||||
|
||||
JWT_SECRET=change_me_in_production
|
||||
|
||||
# Порт HTTP API (как в docker-compose: 3001)
|
||||
# PORT=3001
|
||||
|
||||
# A.1: HR login (Werkzeug password, staff by web_login = username в public.users)
|
||||
# В Docker (docker-compose.dev.yml) по умолчанию HR_AUTH=1 и HR_DATABASE_URL на hr_bot_test.
|
||||
# HR_AUTH=1
|
||||
|
||||
Reference in New Issue
Block a user