Configuration
OliveTin is controlled by a config.yaml
file. On startup, it looks for this
file in the following locations;
-
The value specified by the
--configdir
argument, which defaults to the current working directory (./
) -
/config/
- Mostly used for containers -
/etc/OliveTin/
- this is the recommended directory on Linux for yourconfig.yaml
.
The most simple config.yaml
would be something like this;
config.yaml
file.actions:
- title: "Hello world!"
shell: echo 'Hello World!'
The configuration does not really get more complicated than that. You can of course add more actions, and customize more, but the syntax otherwise extremely simple.
For building up from here, look at the following resources;
-
See the actions documentation for extra examples of what OliveTin could be configured to do.
-
See the action cutomisation documentation to customize how those actions work.
-
See the Solutions documentation for just the essential configuration to achieve popular use cases.
All configuration options are covered in the sollution sections
Core functionality
Option | Description | Default | Live Reloadable | Documentation |
---|---|---|---|---|
|
The list of available actions. |
|
Live Reloadable, but refreshing the web browser is recommended. |
|
|
A list of "things" you can attach actions to. |
|
Live Reloadable, but restart is recommended. |
|
|
A grouping of actions, with optional displays, or actions generated from entities. |
|
Live Reloadable |
UI Customization
Option | Description | Default | Live Reloadable | Documentation |
---|---|---|---|---|
|
A custom title for the OliveTin page. |
|
Live reloadable |
|
|
Show (or hide) the footer. |
|
Live reloadable |
|
|
Show (or hide) new versions in the footer. |
|
Live reloadable |
|
|
Show (or hide) the sidebar/topbar section navigation. |
|
Live reloadable |
|
|
The style of the section navigation. |
|
Live reloadable |
|
|
The default popup to show on start. |
|
Live reloadable |
|
|
The default icon to use for actions. |
|
Requires Restart |
- |
|
The default icon to use for directories. |
|
Requires Restart |
- |
|
The default icon to use for back (from directories). |
|
Requires Restart |
- |
|
Enable custom JavaScript. |
|
Live Reloadable, band refreshing the web browser is required. |
|
|
The theme to use. |
`` |
Restart recommended |
Security Configuration
Option | Description | Default | Live Reloadable | Documentation |
---|---|---|---|---|
|
The name of the cookie to use for JWT authentication. |
`` |
Requires restart |
|
|
The audience to use for JWT authentication. |
`` |
Requires restart |
|
|
The URL to fetch the public keys from with JWKS |
`` |
Requires restart |
|
|
The claim to use for the username. |
|
Requires restart |
|
|
The claim to use for the usergroup. |
|
Requires restart |
|
|
The HTTP header to use for the username. |
`` |
Requires restart |
|
|
The HTTP header to use for the usergroup. |
`` |
Requires restart |
|
|
The default permissions to use. |
|
Requires restart |
|
|
The list of access control lists. |
|
Requires restart |
Networking Configuration
Option | Description | Default | Live Reloadable | Documentation |
---|---|---|---|---|
|
Whether or not to start the internal "microproxy" frontend. Disabling this is highly unusual and is only really useful for power users. |
true |
Requires Restart |
|
|
The address to listen on for the internal "microproxy" frontend. |
|
Requires Restart |
|
|
The address to listen on for the web UI. |
|
Requires Restart |
|
|
The address for the API |
|
Requires Restart |
|
|
The address for the gRPC API |
|
Requires Restart |
|
|
The address for the Prometheus metrics |
|
Requires Restart |
|
|
The address the web browser should use to connect to the API. |
|
Requires Restart |
Debugging Configuration
Option | Description | Default | Live Reloadable | Documentation |
---|---|---|---|---|
|
The log level to use. |
|
Requires Restart |
- |
|
Enable various debug logs. |
|
Requires Restart |
|
|
Various options to disable security features. |
|
Restart recommended |
Miscellaneous Configuration
Option | Description | Default | Live Reloadable | Documentation |
---|---|---|---|---|
|
The directory to serve the web UI from. |
Calculated at runtime. |
Requires Restart |
- |
|
Whether or not to support seconds in cron expressions. |
|
Requires Restart |
|
|
Whether or not to save logs to disk. |
|
Requires Restart |
|
|
Prometheus configuration. |
|
Requires Restart |