Normally, this service works fine:
nginx: volumes: - ${PWD}/nginx-dev.conf:/etc/nginx/nginx.conf:z ports: - 1313:1313