Mount a single file to a drone service

Is there an easy way to do this using volumes? I am trying to add a my.cnf file while starting up mysql and its not reading the cnf

What I have tried

services:
  # Run mysql service
  - name: mysql-server
    image: mysql/mysql-server:5.7
    pull: if-not-exists
    volume:
      - ${PWD}/python/mysql/my.cnf:/etc/mysql/my.cnf

and

  - name: mysql-server
    image: mysql/mysql-server:5.7
    pull: if-not-exists
    volume:
      - python/mysql/my.cnf:/etc/mysql/my.cnf

Hey ! I have used this successfully Host Volumes | Drone