1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
dockerfiles/monit/README.md

35 lines
524 B
Markdown
Raw Normal View History

2015-07-02 10:59:58 +00: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
```
2015-07-02 11:27:37 +00:00
> The control file `/etc/monit/monitrc` must have permissions no more than
> `-rwx------ (0700)`
2015-07-02 10:59:58 +00:00
## server
```
$ cd ~/fig/monit/
$ docker-compose up -d
$ docker exec monit_monit_1 monit status
```
## client
```
$ firefox http://server:2812
```