convex-backend icon indicating copy to clipboard operation
convex-backend copied to clipboard

Self hosted dashboard's Monaco editor can't load

Open FunkMaster-dev opened this issue 1 month ago • 1 comments

Hi convex team 👋

This issue is partially an issue and partially a feature request.

The issue is as follows: I want to self host the convex backend and dashboard in the most traditional way via your docker-compose, following the docs tightly.

The single issue I have, is that I want to do that in an air-gapped network. That means that the monaco editor couldn't be loaded from the default jsdeliver's cdn.

Fortunly enough, the monaco editor provides the loader object that allows adjusting the default loading behaviour. So the solution is kinda already exists, and just need to be implemented ( link to monaco's docs).

Also, I'll be more than happy to develop this tiny feature myself. Seems like implementing it along with an env variable to make it user configurable, is a no brainer for me.

So this issue is also a kind of consultation: does this feature worth adding from your perspective?

Thanks a lot in advance🙏 Your product is truly awesome, Yours, FunkMaster-dev

FunkMaster-dev avatar Nov 24 '25 06:11 FunkMaster-dev

If it's fully flagged off as a user option, seems reasonable. It will be worth measuring the difference in size of the fully built docker container - to understand the impact on bloat.

To note - the general case of supporting totally air-gapped networks is not something we're going to try very hard to maintain long term. But open to something like what you describe for Monaco.

Maybe as a first step, you could try developing the feature, building your docker container for dashboard and seeing if it satisfies for your setup. At minimum then, you could run your fork while we consider including it overall.

nipunn1313 avatar Nov 24 '25 18:11 nipunn1313

@nipunn1313 I've added a PR here

Also for your question about the docker image size, here is a comparison:

Image

Let me know If there is anything else I can do to progress this feature.

FunkMaster-dev avatar Nov 29 '25 19:11 FunkMaster-dev