update monit

This commit is contained in:
kev 2022-01-21 11:59:53 +08:00
parent cd6b9a7eae
commit b391da200b
3 changed files with 20 additions and 16 deletions

View File

@ -2,8 +2,8 @@
# Dockerfile for monit
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
FROM alpine:3
MAINTAINER EasyPi Software Foundation
RUN apk add --no-cache monit

View File

@ -24,13 +24,15 @@ directories and filesystems on a Unix system.
## docker-compose.yml
```yaml
monit:
image: vimagick/monit
volumes:
- ./data:/etc/monit
pid: host
net: host
restart: always
version: "3.8"
services:
monit:
image: vimagick/monit
volumes:
- ./data:/etc/monit
pid: host
net: host
restart: unless-stopped
```
> The control file `/etc/monit/monitrc` must have permissions no more than

View File

@ -1,7 +1,9 @@
monit:
image: vimagick/monit
volumes:
- ./data:/etc/monit
pid: host
net: host
restart: always
version: "3.8"
services:
monit:
image: vimagick/monit
volumes:
- ./data:/etc/monit
pid: host
net: host
restart: unless-stopped