-
|
Hello, Using Trilium Github docker-compose.yml, I see the resulting instance (running on port 8080) is loading sample data. What is the suggested way to get a clean instance of Trilium running with docker-compose.yml, as proivded by the project, without sample data loaded? Following this screenshot, even after deleting created data, puts back sample data. I'd prefer to use the default docker-compose.yml, to keep in sync with what github will have in the future. (Screenshot) I thought this would offer a blank instance of Trilium to load |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @danfoxley! I'm Dosu and I’m helping the Trilium team. Trilium always loads sample/demo data on first run or after deleting the data directory—this is intentional and meant to help new users get started. There’s currently no built-in option, environment variable, or flag in the default docker-compose.yml to disable sample data loading, and deleting the data directory will simply trigger the demo import again on startup. If you want a completely blank instance, the only supported method is to manually delete the sample/demo notes after initial setup. Any code-level workaround would require maintaining a custom fork, which isn’t supported by the default compose file or upstream updates. More details are discussed in this issue thread. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.

Hi @danfoxley! I'm Dosu and I’m helping the Trilium team.
Trilium always loads sample/demo data on first run or after deleting the data directory—this is intentional and meant to help new users get started. There’s currently no built-in option, environment variable, or flag in the default docker-compose.yml to disable sample data loading, and deleting the data directory will simply trigger the demo import again on startup. If you want a completely blank instance, the only supported method is to manually delete the sample/demo notes after initial setup. Any code-level workaround would require maintaining a custom fork, which isn’t supported by the default compose file or upstream updates.…