This commit is contained in:
2024-11-30 13:24:46 +07:00
commit 3e32e5869e
30 changed files with 1196 additions and 0 deletions

29
config/default.json Normal file
View File

@ -0,0 +1,29 @@
{
"app": {
"name": "Service Master Data",
"description": "Purpose of this service is to provide master data product, master data suco and etc",
"version": "1.0.0"
},
"server": {
"port": "4001",
"host": "0.0.0.0",
"host_swagger": "127.0.0.1",
"max_body": "50mb",
"max_upload": 104857600,
"morgan": "combined",
"cors": "*",
"ssl": {
"enable": false,
"cert": "",
"key": ""
}
},
"database": {
"engine": "postgres",
"host": "127.0.0.1",
"port": "5432",
"username": "postgres",
"password": "123",
"database": "bri_erp"
}
}

0
config/prod.json Normal file
View File

29
config/stag.json Normal file
View File

@ -0,0 +1,29 @@
{
"app": {
"name": "Service Master Data",
"description": "Purpose of this service is to provide master data product, master data suco and etc",
"version": "1.0.0"
},
"server": {
"port": "4001",
"host": "0.0.0.0",
"host_swagger": "127.0.0.1",
"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": "127.0.0.1",
"port": "5432",
"username": "postgres",
"password": "r00t@dm1n05",
"database": "bri_erp"
}
}