-
Notifications
You must be signed in to change notification settings - Fork 11
Configuration
Ignacio del Valle Alles edited this page Mar 28, 2016
·
7 revisions
All configuration is done via OS environment variables:
Environment variable | Description | Default value |
---|---|---|
PORT |
Embedded server HTTP port | 8080 |
BRUTUSIN_RPC_URI_ENCODING |
URI encoding for non-embedded environments | ISO-8859-1 |
BRUTUSIN_RPC_CORS_HOST |
Used for informing Allow-Control-Allow-Origin HTTP response header and for validating Websocket handshake origin server-side |
|
BRUTUSIN_RPC_PATH |
URL root path for HTTP and websocket endpoints | "/rpc" |
BRUTUSIN_RPC_INCLUDE_BUILTIN_SERVICES |
Deploy builtin services | true |
BRUTUSIN_RPC_INCLUDE_ENV_SERVICE |
Deploy service showing environment variables values | true |
BRUTUSIN_RPC_UPLOAD_FOLDER |
Temp folder for uploads | |
BRUTUSIN_RPC_UPLOAD_MAX_FILE_SIZE |
Upload file max bytes | Long.MAX_VALUE |
BRUTUSIN_RPC_UPLOAD_MAX_REQUEST_SIZE |
HTTP multipart request max bytes | Long.MAX_VALUE |
BRUTUSIN_RPC_LINK_SOURCE |
Include links to source code | false |
https://tomcat.apache.org/tomcat-8.0-doc/config/systemprops.html
If the environment property org.brutusin.rpc.include-env-service
is not set to false
the framework will deploy a service with id rpc.http.environment
that shows the actual value of the environment variables for that deployment.
Note: Click here to see a live example
- Home
- Getting started
- Services
- HTTP services
- Messaging topics
- Spring
- Documenting
- Referencing source code
- Builtin components
- Configuration
- Deployment
- Client APIs
- Security
- Developer notes
- Architecture
- Examples