Files
tm_back/cmd/web/iat.yaml
T
n.nakhostin e5e9ebee32 Update iat.yaml Configuration to Change Server Port
- Modified the server port in the iat.yaml configuration file from 8081 to 80, aligning with standard HTTP port usage.
- This change simplifies deployment and access to the web application, ensuring it listens on the default HTTP port.
2025-08-31 16:32:33 +03:30

50 lines
1.3 KiB
YAML

server:
host: "0.0.0.0"
port: 80
timeout: 30s
read_timeout: 10s
write_timeout: 10s
database:
mongodb:
uri: "mongodb://mongo:27017"
name: "tender_management"
timeout: 10s
max_pool_size: 100
cache:
redis:
host: "redis"
port: 6379
password: ""
db: 0
pool_size: 10
user_authorization:
jwt:
access_secret: "44a51a556e5e987fe35559d40cefc08dde894df6f70a7512caa444e72bee7b1b"
refresh_secret: "c99009dd58f9a398118afd8f3eb7f1ba38eba33001c93cb45aa6cb88e0582f36"
access_expires_in: 3600 # 1 hour in seconds
refresh_expires_in: 2592000 # 30 days in seconds
customer_authorization:
jwt:
access_secret: "78db1387c47a97a7faea439fc66806282d661fe4c0cc0e893147c677d2b89aa8"
refresh_secret: "84e6d4e375d3acfb40030e08756249217955aa40a6816369c64b06666ea74cba"
access_expires_in: 3600 # 1 hour in seconds
refresh_expires_in: 2592000 # 30 days in seconds
logging:
level: "info"
format: "json"
output: "file" # stdout, stderr, file
file:
path: "./logs/app.log"
max_size: 100 # Max size in MB before rotation
max_backups: 5 # Number of backup files to keep
max_age: 30 # Max age in days to keep log files
compress: true # Compress rotated files
rate_limiting:
requests_per_minute: 100
burst: 20