Install checkmk Docker: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 23: Zeile 23:
 
       - '6557:6557'
 
       - '6557:6557'
 
</pre>
 
</pre>
 +
=Starten manuell=
 +
*cd /root/docker/checkmk/
 +
*docker-compse up -d
 +
=Stoppen manuell=
 +
*cd /root/docker/checkmk/
 +
*docker-compse down

Version vom 23. November 2020, 15:56 Uhr

Verzeichnisse anlegen

  • mkdir -p /root/docker/checkmk
  • mkdir -p /srv/checkmk

Dockercompose File

  • cat /root/docker/checkmk/docker-compose.yml
version: '3.1'
services:
  controll:
    image: checkmk/check-mk-raw:1.6.0-latest
    tmpfs:
     - /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
    ulimits:
      nofile: 1024
    container_name: checkmk
    restart: always
    volumes:
      - '/etc/localtime:/etc/localtime:ro'
      - '/srv/checkmk:/omd/sites'
    ports:
      - '8095:5000'
      - '6557:6557'

Starten manuell

  • cd /root/docker/checkmk/
  • docker-compse up -d

Stoppen manuell

  • cd /root/docker/checkmk/
  • docker-compse down