From 972211e50666efffc9a37e4735e2dcdb7d3b1082 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 19 Jan 2026 04:01:13 -0800 Subject: feat: Simplify Docker to single data volume mount --- config.example.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml index aca9c6a..d5355da 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -1,5 +1,10 @@ # Kaze Status Page Configuration # Copy this file to config.yaml and customize for your needs +# +# Docker Usage: +# When running in Docker, place this file and the database in a single data directory: +# docker run -d -p 8080:8080 -v $(pwd)/data:/app/data ghcr.io/fuwn/kaze:latest +# The container expects the config at /app/data/config.yaml # Site metadata site: @@ -15,8 +20,8 @@ server: # Storage settings storage: - path: "./kaze.db" - history_days: 90 # How many days of history to retain (7, 30, or 90) + path: "./kaze.db" # For Docker single-volume: use "./data/kaze.db" to store in mounted volume + history_days: 90 # How many days of history to retain (7, 30, or 90) # Display settings display: -- cgit v1.2.3