You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-08 22:27:53 +02:00
update monit
This commit is contained in:
@ -2,8 +2,8 @@
|
|||||||
# Dockerfile for monit
|
# Dockerfile for monit
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine:3
|
||||||
MAINTAINER kev <noreply@easypi.pro>
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
RUN apk add --no-cache monit
|
RUN apk add --no-cache monit
|
||||||
|
|
||||||
|
@ -24,13 +24,15 @@ directories and filesystems on a Unix system.
|
|||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
monit:
|
version: "3.8"
|
||||||
image: vimagick/monit
|
services:
|
||||||
volumes:
|
monit:
|
||||||
- ./data:/etc/monit
|
image: vimagick/monit
|
||||||
pid: host
|
volumes:
|
||||||
net: host
|
- ./data:/etc/monit
|
||||||
restart: always
|
pid: host
|
||||||
|
net: host
|
||||||
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
> The control file `/etc/monit/monitrc` must have permissions no more than
|
> The control file `/etc/monit/monitrc` must have permissions no more than
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
monit:
|
version: "3.8"
|
||||||
image: vimagick/monit
|
services:
|
||||||
volumes:
|
monit:
|
||||||
- ./data:/etc/monit
|
image: vimagick/monit
|
||||||
pid: host
|
volumes:
|
||||||
net: host
|
- ./data:/etc/monit
|
||||||
restart: always
|
pid: host
|
||||||
|
net: host
|
||||||
|
restart: unless-stopped
|
||||||
|
Reference in New Issue
Block a user