Copy config.yml.example to config.yml
cp config.yml.example config.yml
List your Asynq service name and redis dsn
services:
- name: 'product-service-worker'
redis_host: 'redis://localhost/1'
- name: 'storage-service-server'
redis_host: 'redis://localhost/2'
make run build
for dev env you can use
make run dev server
for production env you can use
make run server
Start docker container with this command
docker run -d -v "$(pwd)"/config.yml:/config.yml:ro -p 5000:5000 --name asynqmon-multi-service krobus00/asynqmon-multi-service:v0.1.0
Stop docker container with this command
docker stop asynqmon-multi-service
docker rm asynqmon-multi-service