I am running Play 2.4 inside a machine provisioned by Vagrant. I have the project files mounted to the VM config.vm.synced_folder "project_src/", "/home/vagrant/project_src/"
My play config has the the port setting to play.server.http.port=8888
but this setting is not being picked up. Even when I start play with the conf option run -Dconf.resource=application.conf
or any other conf file the setting is not being picked up.
The perm on the file is -rw-r--r-- 1 vagrant vagrant application.conf
so I'm pretty sure that is not the issue either.
The only way I can set the port is with -Dhttp.port=8888
which is fine but there are other env settings I'd like to read from the conf file.
Any suggestions?