1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-12-26 02:40:10 +00:00

Update README.md

This commit is contained in:
Muhammad Auliya 2019-04-05 20:07:46 +07:00 committed by GitHub
parent 5026c0a359
commit 63bb2a0d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,5 +15,19 @@ from terminal, move to grpcox directory, then run command
docker-compose up docker-compose up
``` ```
configure app preferences by editing `config.env` file
| var | usage | type | unit |
|-----------------|---------------------------------------------|--------|--------|
| MAX_LIFE_CONN | maximum idle time connection before closed | number | minute |
| TICK_CLOSE_CONN | ticker interval to sweep expired connection | number | second |
set value `0 (zero)` to disable auto close idle connection.
then you can rebuild app by execute command
```shell
docker-compose up --build
```
## Demo ## Demo
![gRPCox Demo](https://raw.githubusercontent.com/gusaul/grpcox/master/index/img/demogrpcox.gif) ![gRPCox Demo](https://raw.githubusercontent.com/gusaul/grpcox/master/index/img/demogrpcox.gif)