Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cursor/commands/commit.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
- Изменения в структуре проекта
- Новые конфигурационные параметры
11. Предложи команду для коммита
12. Запуш изменения

**Названия веток:**

Expand Down
7 changes: 3 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@ services:
- DB_PASSWORD=password
- DB_NAME=strive
- DB_SSL_MODE=disable
- JWT_SECRET=production-secret-key-very-long-and-secure
- JWT_ISSUER=strive-api
- JWT_AUDIENCE=strive-app
- JWT_CLOCK_SKEW=2m
- CORS_ALLOWED_ORIGINS=https://your-production-frontend.com
- CORS_ALLOWED_ORIGINS=http://localhost:4200, http://127.0.0.1:4200, http://192.168.1.186:4200, https://satanlittlehelper.github.io
- CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,OPTIONS
- CORS_ALLOWED_HEADERS=Accept,Authorization,Content-Type,X-Request-ID
- CORS_EXPOSED_HEADERS=X-Request-ID
- CORS_ALLOW_CREDENTIALS=true
- CORS_MAX_AGE=86400
- COOKIE_SECURE=true
- COOKIE_SAMESITE=Strict
- COOKIE_SAMESITE=None
- COOKIE_DOMAIN=
- RATE_LIMIT_ENABLED=true
- RATE_LIMIT_AUTH_PER_MINUTE=5
- RATE_LIMIT_AUTH_PER_MINUTE=20
- RATE_LIMIT_GENERAL_PER_MINUTE=60
- RATE_LIMIT_BURST_SIZE=10
- EXERCISEDB_ENABLED=true
Expand Down
70 changes: 0 additions & 70 deletions render.dev.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
- key: JWT_CLOCK_SKEW
value: 2m
- key: CORS_ALLOWED_ORIGINS
value: https://your-production-frontend.com
value: http://localhost:4200,http://127.0.0.1:4200,http://192.168.1.186:4200,https://satanlittlehelper.github.io
- key: CORS_ALLOWED_METHODS
value: GET,POST,PUT,DELETE,OPTIONS
- key: CORS_ALLOWED_HEADERS
Expand All @@ -49,7 +49,7 @@ services:
- key: COOKIE_SECURE
value: "true"
- key: COOKIE_SAMESITE
value: "Strict"
value: "None"
- key: COOKIE_DOMAIN
value: ""
- key: RATE_LIMIT_ENABLED
Expand Down