update docker
This commit is contained in:
41
config/docker.json
Normal file
41
config/docker.json
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"app": {
|
||||
"name": "Service Users",
|
||||
"description": "Authorization, roles, user activity — local Docker stack",
|
||||
"version": "1.0.0",
|
||||
"env": "Docker"
|
||||
},
|
||||
"server": {
|
||||
"port": "7001",
|
||||
"host": "0.0.0.0",
|
||||
"host_swagger": "http://localhost:9080/service-user/",
|
||||
"max_body": "50mb",
|
||||
"max_upload": 104857600,
|
||||
"morgan": "combined",
|
||||
"cors": "*",
|
||||
"ssl": {
|
||||
"enable": false,
|
||||
"cert": "",
|
||||
"key": ""
|
||||
}
|
||||
},
|
||||
"database": {
|
||||
"engine": "postgres",
|
||||
"host": "postgres",
|
||||
"port": "5432",
|
||||
"username": "saude_local",
|
||||
"password": "saude_local",
|
||||
"database": "saude_local",
|
||||
"synchronize": true,
|
||||
"logging": true
|
||||
},
|
||||
"auth": {
|
||||
"refresh_token_lifetime_day": 30,
|
||||
"access_token_lifetime": 86400,
|
||||
"reset_password_url": "http://localhost:9080/auth/reset-password/"
|
||||
},
|
||||
"service": {
|
||||
"notification": "http://service-cashier:7004/",
|
||||
"hrms": "http://localhost:9080/service-hrms/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user