Docker Container
To enable Redis monitoring, modify the run command:
docker run -d \
--name watchlog-agent \
-p 3774:3774 \
-v watchlog-agent-config:/app/app/config \
-e WATCHLOG_APIKEY="YOUR_APIKEY" \
-e WATCHLOG_SERVER="https://log.watchlog.io" \
-e MONITOR_REDIS=false \
-e REDIS_HOST="127.0.0.1" \
-e REDIS_PORT="6379" \
-e REDIS_PASSWORD="" \
watchlog/agent:latest
Set -e MONITOR_REDIS=true
and adjust -e REDIS_HOST
, -e REDIS_PORT
, -e REDIS_PASSWORD
accordingly:
- -e MONITOR_REDIS=false
+ -e MONITOR_REDIS=true