1.1 KiB
1.1 KiB
DockerVault
Early CLI foundation for DockerVault.
Current scope
- Python CLI project skeleton
scancommand- Recursive discovery of Docker Compose projects
- YAML parsing with
PyYAML - Detection of:
- services
- images
- restart policies
- bind mounts
- named volumes
env_file
- JSON or human-readable output
Quick start
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
Run a scan:
dockervault scan /path/to/docker/projects
JSON output:
dockervault scan /path/to/docker/projects --json
What v0.2 adds
DockerVault no longer just finds compose files. It now builds a first inventory layer that can be used for backup logic later:
- project name and root path
- compose files found in the project
- service metadata
- backup candidate paths from bind mounts and env files
- named volumes defined in compose
Example direction
This is meant as the next brick in a bigger flow:
- Discover Docker app folders
- Learn what services and data paths exist
- Later attach backup rules, Borg targets, retention, notifications, and restore metadata