Skip to content

Commit

Permalink
Allow docker to connect to localhost Checkmk instance
Browse files Browse the repository at this point in the history
add `extra_hosts` attribute to allow Grafana to connect to a localhost
Checkmk instance trought `checkmk.local` name
  • Loading branch information
lpetrora committed Jan 23, 2025
1 parent 7ce1b55 commit 33fd5f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
development: ${DEVELOPMENT:-false}
ports:
- 3000:3000/tcp
extra_hosts:
- checkmk.local:host-gateway
volumes:
- ./dist:/var/lib/grafana/plugins/tribe-29-checkmk-datasource
- ./provisioning:/etc/grafana/provisioning
Expand Down

0 comments on commit 33fd5f8

Please sign in to comment.