RVR06 / cornifer

Unleash C4 DSL authoring.
https://rvr06.github.io/cornifer
MIT License
8 stars 1 forks source link

Make the location of the structurizr onprem/lite configurable + document list of dependencies #8

Open hideintheclouds opened 2 months ago

hideintheclouds commented 2 months ago

At the moment, the extension does not have the possibility to configure the location of the structurizr server that will render the dsl diagrams (live-preview).

The Live preview does not seem to work after installing the extension in VS Code in an airgapped environment:

It will be a good idea to also document the list of dependencies that the extension needs

RVR06 commented 3 days ago

Hi @hideintheclouds

Thanks for the feedback.

If you already have a valid structurizr/lite docker image tagged latest, Cornifer will use it. Otherwise, download will be triggered during the first preview call by the underlying Docker engine, which may result with a very slow first run.

You also have the ability to fine tune the structurizr/lite version you want to use through the matching settings:

image

It sems to me airgapped environment should be fine with this behavior. Please refine if I missed something.

By the list of dependencies, you mean Docker and structurizr/lite image? Or something else.

Regards