diff options
| author | Fuwn <[email protected]> | 2026-01-19 04:01:13 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-19 04:01:13 -0800 |
| commit | 972211e50666efffc9a37e4735e2dcdb7d3b1082 (patch) | |
| tree | b3b655ecdf7cd4015ae6d399a865ee911fd14015 /config.example.yaml | |
| parent | fix: Remove superfluous WriteHeader call in template error handling (diff) | |
| download | kaze-972211e50666efffc9a37e4735e2dcdb7d3b1082.tar.xz kaze-972211e50666efffc9a37e4735e2dcdb7d3b1082.zip | |
feat: Simplify Docker to single data volume mount
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 9 |
1 files changed, 7 insertions, 2 deletions
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: |