mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-19 03:05:53 +08:00
Update readme
This commit is contained in:
parent
a1ee096efa
commit
00755f4721
@ -63,20 +63,20 @@ Pass flags to specify port, redis server address, etc.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# with a local binary
|
# with a local binary
|
||||||
./asynqmon --port=3000 --redis_addr=localhost:6380
|
./asynqmon --port=3000 --redis-addr=localhost:6380
|
||||||
|
|
||||||
# with Docker (connect to a Redis server running on the host machine)
|
# with Docker (connect to a Redis server running on the host machine)
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--name asynqmon \
|
--name asynqmon \
|
||||||
-p 3000:3000 \
|
-p 3000:3000 \
|
||||||
hibiken/asynqmon --port=3000 --redis_addr=host.docker.internal:6380
|
hibiken/asynqmon --port=3000 --redis-addr=host.docker.internal:6380
|
||||||
|
|
||||||
# with Docker (connect to a Redis server running in the Docker container)
|
# with Docker (connect to a Redis server running in the Docker container)
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--name asynqmon \
|
--name asynqmon \
|
||||||
--network dev-network \
|
--network dev-network \
|
||||||
-p 8080:8080 \
|
-p 8080:8080 \
|
||||||
hibiken/asynqmon --redis_addr=dev-redis:6379
|
hibiken/asynqmon --redis-addr=dev-redis:6379
|
||||||
```
|
```
|
||||||
|
|
||||||
To see all available flags, run:
|
To see all available flags, run:
|
||||||
|
Loading…
Reference in New Issue
Block a user