Docker compose Caddy Error mounting file in a directory

Hey,
I am runnning RancherOS v1.1.3 an tried running bitwarden-rs with Caddy reverse proxy (for https) using docker-compose installed as a container as described on: https://github.com/rancher/os/issues/128#issuecomment-335007393
This is my docker-compose.yml file

#docker-compose.yml`

version: "3"

services:
  bitwarden:
    image: mprasil/bitwarden
    restart: always
    volumes:
      - ./bw-data:/data
    environment:
      WEBSOCKET_ENABLED: "true" # Required to use websockets
      SIGNUPS_ALLOWED: "true" # set to false to disable signups

  caddy:
    image: abiosoft/caddy
    restart: always
    volumes:
      - ./Caddyfile:/etc/Caddyfile:ro
      - caddycerts:/root/.caddy
    ports:
      - 80:80 # needed for Let's Encrypt
      - 443:443
    environment:
      ACME_AGREE: "true" # agree to Let's Encrypt Subscriber Agreement
      DOMAIN: "bitwarden.domain.org" # CHANGE THIS! Used for Auto Let's Encrypt SSL
      EMAIL: "my@email"  # CHANGE THIS! Optional, provided to Let's Encrypt
volumes:
  caddycerts:`

The Caddyfile is in /home/rancher

When i try to docker-compose up -d this happens
Creating network “rancher_default” with the default driver
Creating volume “rancher_caddycerts” with default driver
Pulling caddy (abiosoft/caddy:)…
latest: Pulling from abiosoft/caddy
Creating rancher_caddy_1 … error
Creating rancher_bitwarden_1 … done

ERROR: for rancher_caddy_1  Cannot start service caddy: oci runtime error: container_linux.go:262: starting container process caused "process_linux.go:339: container init caused \"rootfs_linux.go:57: mounting \\\"/rootfs/home/rancher/Caddyfile\\\" to rootfs \\\"/var/lib/docker/overlay/68cfe4cbe03eb86df043d28c4a55bea9bac4229845dcf49664fe462984b7c1c8/merged\\\" at \\\"/var/lib/docker/overlay/68cfe4cbe03eb86df043d28c4a55bea9bac4229845dcf49664fe462984b7c1c8/merged/etc/Caddyfile\\\" caused \\\"not a directory\\\"\""
: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for caddy  Cannot start service caddy: oci runtime error: container_linux.go:262: starting container process caused "process_linux.go:339: container init caused \"rootfs_linux.go:57: mounting \\\"/rootfs/home/rancher/Caddyfile\\\" to rootfs \\\"/var/lib/docker/overlay/68cfe4cbe03eb86df043d28c4a55bea9bac4229845dcf49664fe462984b7c1c8/merged\\\" at \\\"/var/lib/docker/overlay/68cfe4cbe03eb86df043d28c4a55bea9bac4229845dcf49664fe462984b7c1c8/merged/etc/Caddyfile\\\" caused \\\"not a directory\\\"\""
: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Encountered errors while bringing up the project.