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"