Skip to content

Commit 33fd5f8

Browse files
committed
Allow docker to connect to localhost Checkmk instance
add `extra_hosts` attribute to allow Grafana to connect to a localhost Checkmk instance trought `checkmk.local` name
1 parent 7ce1b55 commit 33fd5f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ services:
1111
development: ${DEVELOPMENT:-false}
1212
ports:
1313
- 3000:3000/tcp
14+
extra_hosts:
15+
- checkmk.local:host-gateway
1416
volumes:
1517
- ./dist:/var/lib/grafana/plugins/tribe-29-checkmk-datasource
1618
- ./provisioning:/etc/grafana/provisioning

0 commit comments

Comments
 (0)