System Properties
Below is a non-exhaustive set of useful properties, which may be available depending on which fractions your application uses.
|
For a full set of supported options, please consult the documentation for each fraction and the javadocs on class SwarmProperties.java |
General
Name | Description | Default |
---|---|---|
|
Interface to bind servers |
0.0.0.0 |
|
Sets a global port adjustment |
0 |
|
Timeout, in seconds, to wait for a deployment to occur |
300 |
|
Causes a deployed artifact to be dumped to disk when swarm starts, for debugging |
false |
|
If provided, the swarm process will pause for debugging on the given port. This option is only available when running an Arquillian test or |
none |
Undertow
Name | Description | Default |
---|---|---|
|
Sets the port for the HTTP server |
8080 |
|
Sets the port for the HTTPS server |
8443 |
|
Enables HTTPS and generates a self-signed certificate |
If true, generates a self-signed certificate for development purposes |
|
The host used in the self-signed certificate if |
localhost |
|
Sets the context path for the deployed application |
/ |
Databases
For the H2, MySQL and Postgres database fractions, the follow properties are supported to configure the datasource.
Name | Description | Default |
---|---|---|
|
Name of the datasource (e.g. |
|
|
Username to access the database |
driver specific |
|
Password to access the database |
driver specific |
|
JDBC connection URL |
driver specific |