I'm trying to set the serverURL per environment in application.yml as follows:
environments:
development:
grails:
serverURL: http://localhost:8089
dataSource:
dbCreate: create
url: jdbc:postgresql://localhost:5432/tests
username: postgress
password: rootass
But it doesn't work - when I do run-appit still runs on 8080. Also, how do I set the app name or context name so when I do run-app it's like http://localhost:8089/vis
Try the following:
You can add contextPath at the same level as port if need be e.g.
Should be accessible at http://localhost:8089/myApp