update config
This commit is contained in:
@ -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/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -8,15 +8,15 @@
|
|||||||
"server": {
|
"server": {
|
||||||
"port": "4001",
|
"port": "4001",
|
||||||
"host": "0.0.0.0",
|
"host": "0.0.0.0",
|
||||||
"host_swagger": "http://brilianapps.shiblysolution.id:4001",
|
"host_swagger": "http://brilianapps.shiblysolution.id:5001",
|
||||||
"max_body": "50mb",
|
"max_body": "50mb",
|
||||||
"max_upload": 104857600,
|
"max_upload": 104857600,
|
||||||
"morgan": "combined",
|
"morgan": "combined",
|
||||||
"cors": "*",
|
"cors": "*",
|
||||||
"ssl": {
|
"ssl": {
|
||||||
"enable": false,
|
"enable": false,
|
||||||
"cert": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/fullchain.pem",
|
"cert": "",
|
||||||
"key": "/etc/letsencrypt/live/bri-dev.shiblysolution.id/privkey.pem"
|
"key": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"database": {
|
"database": {
|
||||||
|
|||||||
Reference in New Issue
Block a user