mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
No description
- Rust 89.9%
- Nix 5.8%
- PHP 2.2%
- Nushell 2%
| .github/workflows | ||
| images | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Haze
Hazy with a chance of clouds.
Setup
Requirements
- Docker
Config
Create a file ~/.config/haze/haze.toml with the following options:
sources_root = "/path/to/nextcloud/sources"
work_dir = "/path/to/temp/folder" # optional, defaults to /tmp/haze
Managing instances
Start an instance
haze start [database]
Where database is one of sqlite, mysql, mariadb or pgsql with an optional version (e.g. pgsql:12), defaults to sqlite.
List running instances
haze
or
haze list
Remove all running instances
haze clean
Controlling running instances
The following commands run against the most recently started instance and allow optionally providing a match to select a specific instance by it's name.
Open an instance
haze [match] open
Open the database of an instance
haze [match] db
Execute a command on an instance
haze [match] exec [cmd]
If no cmd is specified it will launch bash
Execute an occ command on an instance
haze [match] occ [cmd]
Show the logs of an instance
haze [match] logs
Stop an instance
haze [match] stop