Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker set-up

To build the image use the following command:

docker build -t quartz_builder:latest .

to run the docker:

docker run -d `
     -p 3000:3000
     -v C:\quartz_builder\obsidian:/vault `
     -v C:\quartz_builder\output:/output `
     -v C:\quartz_builder:/app `
     -e TIMER=0.1 `
     -e FOLDER=/test `
     --mount type=bind,src=C:\quartz_builder\quartz.config.ts,dst=/quartz/quartz.config.ts `
     quartz_builder:latest

The different variables are:

-p 3000:3000                                                                              -> Expose the network port (optional)
-v C:\quartz_builder\obsidian:/vault `                                                    -> The location of your obsidian vault
-v C:\quartz_builder\output:/output `                                                     -> The location of the output folder
-v C:\quartz_builder:/app `                                                               -> IMPORTANT! Use only for local development after having done npm install for faster iterations
-e TIMER=0.1 `                                                                            -> Time that has to be inbetween changes to the documents in the watched folders before we run the build pipeline
-e FOLDER=/test `                                                                         -> The folder in your obsidian vault you want to output (default is /public, leave empty for root)
--mount type=bind,src=C:\quartz_builder\quartz.config.ts,dst=/quartz/quartz.config.ts `   -> Expose the quartz.config.ts to the host system for customization (optional)
quartz_builder:latest                                                                     -> Name of the image you want to run

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages