refactor: switch to official checkmk dockercompose

This commit is contained in:
2025-12-07 04:10:32 +01:00
parent 9f784d2c31
commit 9c5e037567
2 changed files with 19 additions and 12 deletions
+2
View File
@@ -0,0 +1,2 @@
CMK_PASSWORD=password
TZ=Europe/Berlin
+17 -12
View File
@@ -1,18 +1,21 @@
services:
checkmk:
image: checkmk/check-mk-raw:2.3.0-latest
container_name: checkmk
restart: unless-stopped
ports:
- "5000:5000" # UI
- "6556:6556" # AGENT
image: "checkmk/check-mk-raw:2.4.0-latest"
container_name: "monitoring"
environment:
- CMK_PASSWORD=${CMK_PASSWORD:-password}
- TZ=${TZ:-Europe/Moscow}
- CMK_SITE_ID=cmk
volumes:
- ./checkmk:/omd/sites
environment:
CMK_SITE_ID: "cmk"
- checkmk:/omd/sites
tmpfs:
- /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
ports:
- 5000:5000
- 6776:8000
- 6556:6556
restart: always
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik-proxy"
@@ -36,6 +39,8 @@ services:
networks:
- traefik-proxy
volumes:
checkmk:
networks:
traefik-proxy:
external: true
external: true