downdetector/docker-compose.yaml

28 lines
492 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
2022-07-26 22:56:17 -04:00
environment:
- TZ=America/New_York
2022-07-26 22:16:09 -04:00
#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"