Blog site using mdbook
Utilizes a folder-based markdown structure which generates an html book-like reading experience.
Recommended: Docker v24+
-
Copy the
compose.yaml
file to the server- NOTE: for ARM based machines, be sure to point the docker compose file to
Dockerfile.arm
- NOTE: for ARM based machines, be sure to point the docker compose file to
-
Configure a cronjob to run as often as desired to re-build and re-start the docker-compose items
crontab -e
Add the following line
0 0 * * * cd /path/to/compose.yaml && docker compose up --build -d && docker image prune -f
-
The server can be manually started the first time (also validates the project can build and start)
docker compose up --build -d
Install nix-shell
Optional: install Nix Environment Selector Plugin for VSCode
arrterian.nix-env-selector
Start a terminal session with the shell.nix
file
nix-shell