When starting a Granitic application, you provide a list of folders and configuration files that are merged together to form a single view of application configuration. These files may be stored on a filesystem, but may also be served by an HTTP server.
myapp -c config/,/var/myapp/local.json,http://example.com/conf
URLs may be any valid URL as defined by the Go URL parser.
The response to the request to a config-providing URL must contain:
- A content type of
- A JSON formatted response body
- A status code of
If any of these conditions are not met, your application will fail to start.
Next: Instance identification
Prev: Administration index