feat: Alpine 多阶段 Docker 镜像,支持 amd64/arm64 musl 构建
This commit is contained in:
17
docker/probes.yaml
Normal file
17
docker/probes.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
# yaml-language-server: $schema=../probe-config.schema.json
|
||||
|
||||
server:
|
||||
listen:
|
||||
host: "${DIAL_HOST|0.0.0.0}"
|
||||
port: "${DIAL_PORT|3000}"
|
||||
storage:
|
||||
dataDir: "${DIAL_DATA_DIR|/data/dial}"
|
||||
|
||||
targets:
|
||||
- id: "self-health"
|
||||
name: "DiAL 自检"
|
||||
type: http
|
||||
http:
|
||||
url: "http://127.0.0.1:${DIAL_PORT|3000}/health"
|
||||
expect:
|
||||
status: [200]
|
||||
Reference in New Issue
Block a user