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:
parent
5026c0a359
commit
63bb2a0d2c
14
README.md
14
README.md
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user