Update README.md

This commit is contained in:
Vic Shóstak
2021-04-05 11:31:06 +03:00
committed by GitHub
parent fe87c58764
commit 4268feee86

View File

@@ -22,7 +22,7 @@ installed in order to build the frontend assets.
Download the source code and then run:
```sh
```bash
make build
```
@@ -34,13 +34,13 @@ To run Asynqmon in Docker container, you only need to install [Docker](https://w
After that, just run this command:
```sh
```bash
make docker
```
By default, Asynqmon runs on `http://localhost:8080` and waiting to connect to the Redis server on port `6379`. You can easily change this settings by running Docker container with custom options, like this:
```sh
```bash
docker run --rm \
--name asynqmon \
-p 3000:3000 \
@@ -54,20 +54,20 @@ By default, it connects to redis server running on port 6379 locally, and the se
To use the defaults, simply run and open http://localhost:8080.
```sh
asynqmon
```bash
./asynqmon
```
Pass flags to specify port, redis server address, etc.
```sh
asynqmon --port=3000 --redis_addr=localhost:6380
```bash
./asynqmon --port=3000 --redis_addr=localhost:6380
```
To see all available flags, run
```sh
asynqmon --help
```bash
./asynqmon --help
```
## License