1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

autosetup

This commit is contained in:
Robin Appelman 2021-03-15 22:44:24 +01:00
commit 222c500e5c
3 changed files with 84 additions and 2 deletions

View file

@ -14,9 +14,10 @@ Create a file `~/.config/haze/haze.toml` with the following options:
```toml
sources_root = "/path/to/nextcloud/sources"
work_dir = "/path/to/temp/folder" # optional, defaults to /tmp/haze
```
See the [configuration section](#configuration) for more options.
## Managing instances
#### Start an instance
@ -95,3 +96,16 @@ haze [match] logs
```bash
haze [match] stop
```
## Configuration
Configuration is loaded from `~/.config/haze/haze.toml` and has the following options
```toml
sources_root = "/srv/http/owncloud"
[auto_setup] # optional
enabled = false # whether or not to automatically install nextcloud on `haze start`. optional, defaults to false
username = "foo" # username for admin user during auto setup. optional, defaults to "admin"
password = "bar" # password for admin user during auto setup. optional, defaults to "admin"
```