contents · Settings
run a team
reference
reference
Settings
The environment variables GLAD reads on the machine it runs on.
Setting them
Put them in front of glad serve when you start it:
terminal
$ GLAD_LINEAR_KEY_FILE=/etc/glad/linear-key glad serve <repository>
GLAD remembers them, so when it restarts on its own it uses the same values. To change one, start glad serve again with the new value.
Judge
| GLAD_JUDGE_BACKEND | optionalSet it to endpoint to judge with your own model server. Default jev. |
| GLAD_JUDGE_ENDPOINT | required with endpointYour model server’s URL. |
| GLAD_JUDGE_MODEL | required with endpointThe model your server answers with. |
| GLAD_JUDGE_KEY_FILE | optionalSet it when your model server needs a key. |
your own model
$ GLAD_JUDGE_BACKEND=endpoint \ GLAD_JUDGE_ENDPOINT=https://judge.internal/v1 \ GLAD_JUDGE_MODEL=<model> \ glad serve <repository> --tls-cert cert.pem --tls-key key.pem
Linear
| GLAD_LINEAR_KEY_FILE | optionalSet it when the Linear API key isn’t at ~/. Read only until you run glad linear connect or disconnect. |
| GLAD_LINEAR_API_KEY | optionalSet it to pass the Linear API key directly. Ignored when a key file exists. |
Login
| GLAD_GITHUB_CLIENT_ID | optionalSet it to log in through your own GitHub OAuth app, or empty to turn GitHub login off so people log in with keys only. |
| GLAD_CREDENTIALS_FILE | optionalSet it to keep this machine’s login somewhere other than ~/. |
