How to set Instance name and use #runOnInstance label #9149
Replies: 1 comment
-
|
Hi @ShuangqiLi! I'm Dosu and I’m helping the Trilium team. The [General]
instanceName=ServerFor Docker deployments, you have two options:
Important notes:
To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use the label #runOnInstance=Server, but it didn't work. My server is set up using docker.
I've already updated my config.ini file with:
But the instanceName setting doesn't seem to take effect.
After running the
api.log(api.instanceName)command to inspect the runtime configuration, I found that instanceName is still empty.How should I properly configure the instanceName so that it gets recognized by the application?
Beta Was this translation helpful? Give feedback.
All reactions