Update checkmk.md

This commit is contained in:
Tom 2021-01-08 10:41:16 +00:00 committed by GitHub
parent e63f43ba12
commit 868081e873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,24 +17,18 @@ version: '3.6'
services: services:
checkmk: checkmk:
container_name: checkmk
image: checkmk/check-mk-raw image: checkmk/check-mk-raw
tmpfs: container_name: checkmk
- /opt/omd/sites/cmk/tmp:uid=1000,gid=1000 restart: unless-stopped
ulimits: ulimits:
nofile: 1024 nofile: 1024
volumes:
- ./monitoring:/omd/sites
- /etc/localtime:/etc/localtime:ro
ports: ports:
- "8080:5000" - "3123:5000"
restart: unless-stopped volumes:
networks: - /etc/localtime:/etc/localtime:ro
checkmk_network: - ./monitoring:/omd/sites
networks:
checkmk_network:
``` ```
- and go to http://localhost:8080/cmk/check_mk/ - Open http://localhost:8080/cmk/check_mk/
- You will find the provisional password for the cmkadmin account in the logs that are written for this container - Username is `cmkadmin`
- Password is written in the logs when the container starts the first time, so just run `docker-compose logs` after starting the container