Ninad
Ninad

Reputation: 484

Dropwizard configuration by not using .YML file?

I am new to dropwizard. I want to know is their any other way to set the connection port, admin port, logger level and all configuration parameters and not by use .YML file.

Upvotes: 2

Views: 1254

Answers (1)

KrisM82
KrisM82

Reputation: 335

You can use command like param when starting the application.

Its all within the docs within the Configuration section.

For example:

-Ddw.server.applicationConnectors[0].port=9090

Upvotes: 1

Related Questions