update config

This commit is contained in:
2024-12-24 14:08:11 +07:00
parent 798b40006b
commit ae66b1f8f1
2 changed files with 41 additions and 3 deletions

View File

@ -0,0 +1,38 @@
{
"app": {
"name": "Service User",
"description": "Purpose of this service is to provide authorization, roles, user activity and etc",
"version": "1.0.0",
"env": "Production"
},
"server": {
"port": "4001",
"host": "0.0.0.0",
"host_swagger": "https://brilianapps.shiblysolution.id/api/u",
"max_body": "50mb",
"max_upload": 104857600,
"morgan": "combined",
"cors": "*",
"ssl": {
"enable": false,
"cert": "",
"key": ""
}
},
"database": {
"engine": "postgres",
"host": "172.16.11.202",
"port": "5432",
"username": "bri_staging",
"password": "fK*#o>1W2&6f",
"database": "bri_erp_staging"
},
"auth": {
"refresh_token_lifetime_day": 30,
"access_token_lifetime": 86400,
"reset_password_url": "https://brilianapps.shiblysolution.id/ukln/auth/reset-password/"
},
"service": {
"notification": "http://127.0.0.1:4008/"
}
}

View File

@ -8,15 +8,15 @@
"server": {
"port": "4001",
"host": "0.0.0.0",
"host_swagger": "http://brilianapps.shiblysolution.id:4001",
"host_swagger": "http://brilianapps.shiblysolution.id:5001",
"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"
"cert": "",
"key": ""
}
},
"database": {