On branch main

modified:   main_dc/yalarba/api_yal/.env
	modified:   main_dc/yalarba/api_yal/cmd/main.go
switch docker container iner port for tp_yal to 8787
This commit is contained in:
2026-03-31 13:47:08 +05:00
parent 75b2f3f6b2
commit 15eed69a45
2 changed files with 9 additions and 4 deletions
+6 -1
View File
@@ -4,8 +4,13 @@ DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=db_yal
APP_PORT=8081
APP_PORT=8787
JWT_SECRET=secret
UPLOAD_PATH=./storage/uploads
ENVIRONMENT=development
SERVER_PORT=8080
LOG_LEVEL=debug
# настройки корс
CORS_ALLOWED_ORIGINS=http://easysite102.ru,https://easysite102.ru,http://localhost:8088,https://localhost:8088
RATE_LIMIT_ENABLED=true
RATE_LIMIT_REQUESTS_PER_SERCOND=10
+1 -1
View File
@@ -7,8 +7,8 @@ import (
"api_yal/internal/config"
"api_yal/internal/database"
"api_yal/internal/logger"
"api_yal/internal/server"
"api_yal/internal/router"
"api_yal/internal/server"
"go.uber.org/zap"
)