实验目的 🔗
- 用最简单的配置将 easeprobe 的 http probe 跑起来
docker-compose 配置 🔗
version: "3.9"
services:
probe:
image: megaease/easeprobe:v2.0.1
container_name: probe
volumes:
- type: bind
source: ./config.yaml
target: /opt/config.yaml
read_only: true
ports:
- 8181:8181
easeprobe 配置 config.yaml
🔗
http:
- name: Google
url: https://www.google.com
notify:
log:
- name: log file # local log file
file: /dev/stdout
环境 🔗
验证 🔗
- 查看日志
- 查看 8181 端口