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:
@@ -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
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user