36 lines
927 B
YAML
36 lines
927 B
YAML
services:
|
|
checkmk:
|
|
container_name: checkmk
|
|
image: checkmk/check-mk-raw:2.3.0p7
|
|
tmpfs:
|
|
- /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
|
|
ulimits:
|
|
nofile: 1024
|
|
volumes:
|
|
- /home/miker/docker/checkmk/monitoring:/omd/sites
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- TZ=America/New_York
|
|
ports:
|
|
- "8080:8000"
|
|
- "5000:5000"
|
|
restart: unless-stopped
|
|
networks:
|
|
checkmk:
|
|
|
|
networks:
|
|
checkmk:
|
|
|
|
|
|
# When build is complete, you need to look in the logs for the default username and password.
|
|
|
|
# Passwd for checkmk - Uv8bJ0nDFxLxXz9qJxe0
|
|
|
|
# To install the agent on a linux system:
|
|
# sudo wget http://192.168.0.183:8180/cmk/check_mk/agents/check-mk-agent_2.3.0p7-1_all.deb
|
|
# sudo dpkg -i check-mk-agent_2.3.0p7-1_all.deb
|
|
|
|
|
|
scp check-mk-agent_2.3.0p7-1_all.deb miker@107.175.245.171 /home/miker
|