Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Fix docker registry metrics scraping (#26685)
Browse files Browse the repository at this point in the history
Forgot to expose the port :(
  • Loading branch information
eseliger authored Oct 26, 2021
1 parent 0606072 commit d0c56cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enterprise/cmd/executor/docker-mirror/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ http:
headers:
X-Content-Type-Options: [nosniff]
debug:
addr: localhost:5001
addr: :5001
prometheus:
enabled: true
path: /metrics
Expand All @@ -93,7 +93,7 @@ proxy:
EOF

# Run registry as a persistent daemon container.
docker run -d --restart=always -p 5000:5000 -v ${DOCKER_REGISTRY_CONFIG_FILE}:/etc/docker/registry/config.yml --name registry registry:2
docker run -d --restart=always -p 5000:5000 -p 5001:5001 -v ${DOCKER_REGISTRY_CONFIG_FILE}:/etc/docker/registry/config.yml --name registry registry:2
}

function install_node_exporter() {
Expand Down

0 comments on commit d0c56cd

Please sign in to comment.