2018-03-03 13:09:49 +01:00
|
|
|
services:
|
|
|
|
monit:
|
2024-12-15 02:53:53 +01:00
|
|
|
image: registry.manalejandro.com/monit:latest
|
|
|
|
# image: monit
|
2024-08-20 05:11:55 +02:00
|
|
|
build: .
|
|
|
|
hostname: monit
|
|
|
|
container_name: monit
|
|
|
|
restart: always
|
|
|
|
healthcheck:
|
|
|
|
test: curl --fail http://admin:monit@monit:2812/ || exit 1
|
2024-09-23 02:45:50 +02:00
|
|
|
interval: 1m
|
|
|
|
retries: 1
|
2024-12-15 02:53:53 +01:00
|
|
|
start_period: 1m
|
2018-03-03 13:09:49 +01:00
|
|
|
ports:
|
2024-08-20 05:11:55 +02:00
|
|
|
- "2812:2812"
|
2018-03-03 13:09:49 +01:00
|
|
|
volumes:
|
|
|
|
- ./monitrc:/etc/monitrc
|
2024-08-20 05:11:55 +02:00
|
|
|
networks:
|
|
|
|
monitnet:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
monitnet:
|