mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-18 18:55:54 +08:00
14 lines
298 B
Makefile
14 lines
298 B
Makefile
.PHONY: build docker
|
|
|
|
# Build a release binary.
|
|
build:
|
|
go build -o asynqmon ./cmd/asynqmon
|
|
|
|
# Build image and run Asynqmon server (with default settings).
|
|
docker:
|
|
docker build -t asynqmon .
|
|
docker run --rm \
|
|
--name asynqmon \
|
|
-p 8080:8080 \
|
|
asynqmon --redis-addr=host.docker.internal:6379
|