version: "3.4" services: hostman: image: julienlecomte/docker-make command: ["./hostman.sh", "&", "wait", "$!" ] volumes: - /var/run/docker.sock:/tmp/docker.sock:ro - ./script/hostman.sh:/hostman.sh:ro - ./script/docker-templater.sh:/docker-templater.sh:ro - ./templates:/templates:ro - ./config:/config:rw - /etc/hosts:/config/hosts:rw networks: - proxy proxy: image: caddy:2.6.2-alpine ports: - "80:80" - "443:443" volumes: - ./config/Caddyfile:/etc/caddy/Caddyfile:ro - ./caddy_data:/data/caddy networks: - proxy networks: proxy: name: proxy external: false