|
| 1 | +services: |
| 2 | + checkmk: |
| 3 | + # feature equivalent to enterprise edition but just 30 days trial |
| 4 | + # nice to check extension GUI stuff |
| 5 | + image: checkmk-yum |
| 6 | + build: |
| 7 | + context: . |
| 8 | + dockerfile: dockerfiles/checkmk/Dockerfile |
| 9 | + args: |
| 10 | + CHECKMK_VERSION: 2.4.0p20 |
| 11 | + CMK_PASSWORD: cmkadmin |
| 12 | + CMK_SITE_ID: cmk |
| 13 | + restart: unless-stopped |
| 14 | + ports: |
| 15 | + - 5000:5000 |
| 16 | + environment: |
| 17 | + TZ: Europe/Berlin |
| 18 | + volumes: |
| 19 | + # meta-info about package for Checkmk extensions management |
| 20 | + - ${PWD}/mkp/var/check_mk/packages/yum:/omd/sites/cmk/var/check_mk/packages/yum |
| 21 | + # agent plugin to run on monitored hosts |
| 22 | + - ${PWD}/mkp/local/share/check_mk/agents/plugins/yum:/omd/sites/cmk/local/share/check_mk/agents/plugins/yum |
| 23 | + # bakery - not fully upgraded to the new layout in Checkmk 2.4 itself |
| 24 | + - ${PWD}/mkp/local/lib/python3/cmk/base/cee/plugins/bakery/yum.py:/omd/sites/cmk/local/lib/python3/cmk/base/cee/plugins/bakery/yum.py |
| 25 | + # already updated part of plugin |
| 26 | + - ${PWD}/mkp/local/lib/python3/cmk_addons/plugins/yum:/omd/sites/cmk/local/lib/python3/cmk_addons/plugins/yum |
| 27 | + |
| 28 | + client-rocky-8: |
| 29 | + # client for testing, can be added in web GUI |
| 30 | + image: checkmk-client-rocky-8 |
| 31 | + build: |
| 32 | + context: dockerfiles/client |
| 33 | + dockerfile: Dockerfile_rocky-8 |
| 34 | + restart: unless-stopped |
| 35 | + environment: |
| 36 | + # check_mk_agent needs to know where to store its state |
| 37 | + MK_VARDIR: /var/lib/check_mk_agent |
| 38 | + post_start: |
| 39 | + # check_mk_agent requires executable plugins |
| 40 | + - command: /usr/bin/chmod -R +x /usr/lib/check_mk_agent/plugins |
| 41 | + volumes: |
| 42 | + - ${PWD}/mkp/local/share/check_mk/agents/plugins:/usr/lib/check_mk_agent/plugins |
| 43 | + |
| 44 | + client-fedora-43: |
| 45 | + # client for testing, can be added in web GUI |
| 46 | + image: checkmk-client-fedora-43 |
| 47 | + build: |
| 48 | + context: dockerfiles/client |
| 49 | + dockerfile: Dockerfile_fedora-43 |
| 50 | + restart: unless-stopped |
| 51 | + environment: |
| 52 | + # check_mk_agent needs to know where to store its state |
| 53 | + MK_VARDIR: /var/lib/check_mk_agent |
| 54 | + post_start: |
| 55 | + # check_mk_agent requires executable plugins |
| 56 | + - command: /usr/bin/chmod -R +x /usr/lib/check_mk_agent/plugins |
| 57 | + volumes: |
| 58 | + - ${PWD}/mkp/local/share/check_mk/agents/plugins:/usr/lib/check_mk_agent/plugins |
0 commit comments