1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/monit
2015-07-02 19:27:37 +08:00
..
monit update 2015-07-02 19:24:22 +08:00
docker-compose.yml add monit 2015-07-02 18:59:58 +08:00
Dockerfile update 2015-07-02 19:24:22 +08:00
README.md udpate 2015-07-02 19:27:37 +08:00

monit

Monit is a utility for managing and monitoring processes, programs, files, directories and filesystems on a Unix system.

docker-compose.yml

monit:
  image: vimagick/monit
  volumes:
    - monit:/etc/monit
  pid: host
  net: host
  restart: always

The control file /etc/monit/monitrc must have permissions no more than -rwx------ (0700)

server

$ cd ~/fig/monit/
$ docker-compose up -d
$ docker exec monit_monit_1 monit status

client

$ firefox http://server:2812