title: how to connect volume to docker container in docker-compose
body: <p>my docker-compose file</p>
  <pre><code>
  services:
    irc:
      image: inspircd/inspircd-docker
      container_name: irc
      volumes: 
          - ./configs:/inspircd/configs
  
  
    app:
      build: ./tor
      container_name: tor
      ports: 
       - 443:443
       - 9001:9001
       - 9030:9030
      links: 
       - irc
      depends_on: 
          - irc
  
  volumes: 
    irc_conf:
      driver: local
      driver_opts: 
        o: bind
        type: none
        device: /home/advaithm/irc_docker/configs
  </code></pre>
  <p>I don't understand how to mount my configs folder. can someone explain how the correct way to mount them is.  i need to mount configs at /home/advaithm/irc_docker/configs to /inspircd/configs in the container. with just docker i would use <code>-v /home/advaithm/irc_docker/configs :/inspircd/configs</code> i would like to no the equivalent in the docker-compose.yml</p>