mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
32 lines
426 B
Markdown
32 lines
426 B
Markdown
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
|
|
```
|
|
|
|
## server
|
|
|
|
```
|
|
$ cd ~/fig/monit/
|
|
$ docker-compose up -d
|
|
$ docker exec monit_monit_1 monit status
|
|
```
|
|
|
|
## client
|
|
|
|
```
|
|
$ firefox http://server:2812
|
|
```
|