downdetector/docker-compose.yaml

24 lines
445 B
YAML
Raw Normal View History

2022-07-26 22:16:09 -04:00
version: '3'
services:
downdetector:
image: debian
container_name: down_detector
volumes:
- ./:/dd
#entrypoint: ls -la /dd/scripts/file_uptime.sh
entrypoint: /dd/scripts/loop.sh /dd/logs /dd/conf/ips.txt
restart: always
caddy:
image: caddy
container_name: downdetector_caddy
ports:
- "80:80"
volumes:
- "./logs:/srv/logs"
command: "caddy file-server --browse /srv/logs"