Repository navigation
Replies: 2 comments
|
You don't set it in the compose, you set window.DRAWIO_CONFIG in the PreConfig.js file and mount it into docker. |
0 replies
|
@pengshp just put json as string: services:
drawio:
image: jgraph/drawio:28.2.3
environment:
- DRAWIO_CONFIG: '{"customFonts":[]}'
# ...More about config format: https://www.drawio.com/doc/faq/configure-diagram-editor Note
docker-drawio/main/docker-entrypoint.sh Line 67 in e12d208 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello!
DRAWIO_CONFIGvariate,What should I write after the variable?
I can't understand! it's a path for json file or content of json file?
Please give example DRAWIO_CONFIG for self-contained.
Thanks!
All reactions