1
0
Fork 0
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%
Find a file
2021-03-14 16:37:57 +01:00
.github/workflows no cross 2021-03-12 22:39:24 +01:00
images cleanup 2021-03-14 15:20:53 +01:00
src better ids 2021-03-14 16:37:57 +01:00
.gitignore init repo 2021-03-11 21:15:24 +01:00
Cargo.lock better ids 2021-03-14 16:37:57 +01:00
Cargo.toml better ids 2021-03-14 16:37:57 +01:00
LICENSE images and linking 2021-03-12 21:49:58 +01:00
README.md typo 2021-03-13 23:01:14 +01:00

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