Living-with-machines / lwmdb

A django-based library for managing the Living with Machines newspapers metadata database schema
https://living-with-machines.github.io/lwmdb/
MIT License
2 stars 0 forks source link

Server diagram rendering config only works after a local `kroki` run and within a `docker compose -f local.yml` deploy #115

Open griff-rees opened 1 year ago

griff-rees commented 1 year ago

This is a known issue, and for the sake of development ease leaving this until other priorities are addressed. For reference:

$ poetry run mkdocs serve --dev-addr=0.0.0.0:8080

raises a warning

INFO     -  kroki.plugin reading kroki block from file:
            "/Users/grees/code/lib_metadata_db/docs/assets/sql_structure.dot"
ERROR    -  kroki.client HTTPConnectionPool(host='kroki', port=9100): Max retries
            exceeded with url:
...

And will render the database schema like:

Screenshot 2023-06-11 at 14 18 13

When run via docker compose -f local.yml the correct rendering at the time of writing should resemble:

Screenshot 2023-06-11 at 14 20 13