mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-10-23 06:46:11 +08:00
Update README.md
This commit is contained in:
18
README.md
18
README.md
@@ -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
|
||||||
|
Reference in New Issue
Block a user