{% extends "base.html" %} {% block title %}Settings โ€” FreeWeight{% endblock %} {% block content %}

Settings

Only settings that can be changed safely while the server is running appear here. Anything that decides who can reach this machine, what leaves it, or where its data lives is set in config.toml, the environment or on the command line โ€” and is listed below as read-only.

{% if error %} {% endif %} {% if notice %}
{{ notice }}
{% endif %}
{% include "partials/_csrf.html" %}
{% for view in views %} {% endfor %}
Runtime-changeable settings. New values apply to work started after you save.
Setting Value Source What it does
{% if view.setting.kind == 'bool' %} {% elif view.setting.kind == 'choice' %} {% else %} {% endif %} {% if view.setting.unit %}{{ view.setting.unit }}{% endif %} {{ view.source }} {% if view.source == 'env' %}
{{ view.setting.env_var }} wins over anything stored here. {% endif %}
{{ view.setting.description }}

Configuration file only

These are security-relevant. They are never editable from this UI, in any state, for any user โ€” a boundary a browser session can move is not a boundary (configuration standards ยง7). Edit config.toml and restart, or set the environment variable.

{% for key in config_only %} {% endfor %}
Config-only keys. freeweight config show prints their effective values.
KeyEnvironment variable
{{ key }} FREEWEIGHT_{{ key.split('.')[0] | upper }}__{{ key.split('.')[1] | upper }}
{% endblock %}