Files
service-user-revenue/config/stag.json
2024-11-29 15:41:05 +07:00

35 lines
1001 B
JSON

{
"app": {
"name": "Service User",
"description": "Purpose of this service is to provide authorization, roles, user activity and etc",
"version": "1.0.0",
"env": "Staging"
},
"server": {
"port": "4001",
"host": "0.0.0.0",
"host_swagger": "https://bri-dev.shiblysolution.id/api/u",
"max_body": "50mb",
"max_upload": 104857600,
"morgan": "combined",
"cors": "*",
"ssl": {
"enable": false,
"cert": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/fullchain.pem",
"key": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/privkey.pem"
}
},
"database": {
"engine": "postgres",
"host": "172.19.174.193",
"port": "5432",
"username": "postgres",
"password": "r00t@dm1n05",
"database": "bri_erp"
},
"auth": {
"refresh_token_lifetime_day": 30,
"access_token_lifetime": 300
}
}