docker-monit/docker-compose.yml
ale 4f49c5dc8a
Some checks failed
continuous-integration/drone/push Build is failing
.drone.yml
Signed-off-by: ale <ale@manalejandro.com>
2024-12-15 02:53:53 +01:00

23 lines
436 B
YAML

services:
monit:
image: registry.manalejandro.com/monit:latest
# image: monit
build: .
hostname: monit
container_name: monit
restart: always
healthcheck:
test: curl --fail http://admin:monit@monit:2812/ || exit 1
interval: 1m
retries: 1
start_period: 1m
ports:
- "2812:2812"
volumes:
- ./monitrc:/etc/monitrc
networks:
monitnet:
networks:
monitnet: