63 lines
2.8 KiB
YAML
63 lines
2.8 KiB
YAML
# Werkregie-Dashboard in mode `server` on a host — e.g. ~/.config/werkregie/dashboard.yml there.
|
|
port: 31234 # the localhost port of the booked "eigener Serverdienst"
|
|
windowHours: 168
|
|
|
|
# Claude Code and Codex come from the relays, not from the host
|
|
claude: { enabled: false }
|
|
codex: { enabled: false }
|
|
|
|
server:
|
|
bindAddress: 127.0.0.1 # Apache proxies to it via .htaccess
|
|
publicBaseUrl: https://regie.example.org/
|
|
# stateDir: ~/.local/state/werkregie # access-token and relays.json
|
|
relayStaleSeconds: 30
|
|
relayGoneSeconds: 120
|
|
|
|
# the record of each day's work in <stateDir>/journal/
|
|
journal:
|
|
zone: Europe/Berlin # where a calendar day begins; default the zone of the host
|
|
keepDays: 400
|
|
# the Werkjournal customers and projects a day is booked to, by name
|
|
customers:
|
|
- name: Example Customer
|
|
projects:
|
|
- name: Example Project
|
|
repositories: [example-backend, example-ui] # without owner
|
|
taiga: [example-project] # Taiga project slugs; the first resolves Taiga IDs
|
|
rooms: ["!roomid:example.org"] # Matrix rooms by ID or name
|
|
fallback: { customer: Intern, project: Sonstiges } # work that no project names
|
|
summary: # AI summaries of the entries, offered beside the rule text
|
|
apiKeyEnv: OPENROUTER_API_KEY # model default anthropic/claude-haiku-5.5
|
|
|
|
werkators:
|
|
- name: javagil
|
|
url: https://werkator.example.org
|
|
controlTokenEnv: WERKREGIE_WERKATOR_JAVAGIL # private repositories; or controlToken: <token>
|
|
|
|
# werkrevisor's statistics service: the overview shows its review costs
|
|
werkrevisors:
|
|
- name: javagil
|
|
url: https://werkrevisor.example.org
|
|
|
|
giteas:
|
|
- name: javagil
|
|
url: https://git.example.org
|
|
tokenEnv: WERKREGIE_TOKEN_JAVAGIL # or token: <token>; no tea on the host
|
|
pullRequests: all
|
|
mergeAuthors: [mi, claude-code] # whose merges the chart counts; default the token's user
|
|
|
|
# task boards with what is assigned to you (modes local and server); only type taiga so far
|
|
# taskboards:
|
|
# - name: team
|
|
# type: taiga
|
|
# url: https://taiga.example.org # the web pages; the API is found in their conf.json
|
|
# # apiUrl: https://taiga-api.example.org/api/v1 # only where conf.json does not tell it
|
|
# usernameEnv: WERKREGIE_TAIGA_USER # or username: <name>
|
|
# passwordEnv: WERKREGIE_TAIGA_PASSWORD # never the password itself
|
|
# projects: [shop, docs] # project slugs, as in the address of a project
|
|
# statuses: # most important first; a list holds equal names
|
|
# - [In Arbeit, In Progress]
|
|
# - Bereit
|
|
# - [Neu, New]
|
|
# hiddenStatuses: [Erledigt, Verworfen] # open in Taiga, hidden until the page shows them
|