mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
coredns metrics listen address to 127.0.0.1:9153
This commit is contained in:
parent
4ad98cd484
commit
110f7dbc93
2 changed files with 6 additions and 1 deletions
|
@ -39,7 +39,9 @@ services:
|
|||
image: coredns/coredns:1.9.3@sha256:8e352a029d304ca7431c6507b56800636c321cb52289686a581ab70aaa8a2e2a
|
||||
restart: unless-stopped
|
||||
expose: ["443"]
|
||||
ports: ["853:853"]
|
||||
ports:
|
||||
- "853:853"
|
||||
- "127.0.0.1:9153:9153"
|
||||
volumes:
|
||||
- ./etc/coredns:/etc/coredns
|
||||
- caddy_data:/var/lib/caddy/data
|
||||
|
|
|
@ -11,3 +11,6 @@ https://. tls://. {
|
|||
forward . /etc/resolv.conf
|
||||
reload
|
||||
}
|
||||
. {
|
||||
prometheus 0.0.0.0:9153
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue