mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
update monit
This commit is contained in:
parent
cd6b9a7eae
commit
b391da200b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user