chore: document application setup (for partners)#101
Conversation
da9a33d to
28c9eee
Compare
mirdono
left a comment
There was a problem hiding this comment.
Added some issues resulting from feedback via rocket.chat. (Along with one that caught my eye while adding these comments.)
| | [Policy impact report](https://github.com/lblod/frontend-decide-policy-impact-report) | `policy-impact-report` | | ||
|
|
||
|
|
||
| ### Outsource LLM to the cloud |
There was a problem hiding this comment.
Issue: Clarify the need to obtain API keys for external services and how they are to be configured.
As part of LBRON-1423 the API keys will become environment variables to be configured in a non-versioned override file. This would be similar as the entity-linking configuration in the added example override.
Furthermore, it is probably best to emphasise these API keys are configured into a local docker-compose.override.yml instead of the versioned example override.
There was a problem hiding this comment.
Updated the example override entry for named-entity-recognition based on #43
There was a problem hiding this comment.
Updated the example override entry for pdf-content based on #24
| For each service `A` that was added or updated (version bump or changed environment variables), do `docker compose up [-d] A`. For each service `B` for which their configuration was updated in the `../config/B` folder, do a `docker compose restart B`. Note, that `up` on its own does **not** cause a service to update its configuration. | ||
|
|
||
|
|
||
| ## Service configuration |
There was a problem hiding this comment.
Issue: Add a section for the ollama service.
The ollama service should pull in the appropriate LLMs, as described in #55. While the general README mentions this for the smart search setup it is currently not documented this is needed for other use cases as well.
There was a problem hiding this comment.
i flagged this with pedro and joachim, the service should have ollama load the models on startup if they aren't available yet in ollama on disk and crash if that fails. Running manual pulls by drc execing seems crazy
|
Issue: Document In #99 a |
|
Remark: Add documentation/pointer concerning task/job data model. The pipelines with their jobs and tasks are central to the application but are not yet explicitly explained here. This came up in the project's get-together today. |
This service works as is, no partner-specific configuration needed. |
166aa84 to
35f26e5
Compare
Added a short background section in the UC0.0 section. This very shortly introduces the essentials of the pipelines and provides a link to the more elaborate pipeline write up. |
bd15f83 to
353ad03
Compare
Our `docker-compose.dev.yml` does *not* publish the triplestore's port. Can be added to override if needed.
Add section documenting workaround for harvesting PDFs from Bamberg's web portal.
Document how user accounts for the pipeline dashboard can be added and disabled. This allows partners to manage their own users if they want to instead of only using the example test user.
2098bc1 to
e292eb7
Compare
|
As discussed on standup of 28 May 2026, merged without explicit review as we want to get it out to the partners. |
This PR extends the existing documentation to better support partners to set up their own instance of the DECIDe application. This initially focuses on the city of Bamberg who are primarily interested in use cases 0.1 (policy impact report) and 2 (smart search). Further guidelines tailored to other partner cities will be added in follow-up PRs.
Proposed approach
This PR mainly introduces two new files in the new
docsfolder. The README provides additional information concerning setting up an own, non-development, instance of the DECIDe application.Furthermore, a Bamberg-specific docker compose override configuration was added. This configuration (partially) disables services that are not relevant for Bamberg and contains some template configuration for relevant services.
Furthermore, the primary README was updated with respect to
How to test
.envand ensure the stack can be properly started. Note, it is expected that some services do not function correctly due to placeholder values in their configuration.Notes
In addition to the changes above, this PR also slightly simplifies the docker-compose configuration:
smart-search.ymlintosearch.ymlas thefrontend-smart-searchconfigured in the former relates to the services configured in the latter.report-generationservice intobase-compose.ymlto reduce the number of configuration files.Related tickets