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: Download the source code and then run:
```sh ```bash
make build 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: After that, just run this command:
```sh ```bash
make docker 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: 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 \ docker run --rm \
--name asynqmon \ --name asynqmon \
-p 3000:3000 \ -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. To use the defaults, simply run and open http://localhost:8080.
```sh ```bash
asynqmon ./asynqmon
``` ```
Pass flags to specify port, redis server address, etc. Pass flags to specify port, redis server address, etc.
```sh ```bash
asynqmon --port=3000 --redis_addr=localhost:6380 ./asynqmon --port=3000 --redis_addr=localhost:6380
``` ```
To see all available flags, run To see all available flags, run
```sh ```bash
asynqmon --help ./asynqmon --help
``` ```
## License ## License