1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 08:44:09 +02:00

feat(lookup): Support use of local repo for the lookup-server

Signed-off-by: Louis Chmn <louis@chmn.me>
This commit is contained in:
Louis Chmn 2026-09-17 12:52:36 +02:00
commit 2778f31c93
4 changed files with 92 additions and 3 deletions

View file

@ -306,6 +306,8 @@ haze start --name gs-master lookup
The Nextcloud instance started with this command is already properly configured
as master node.
If you want to work on the lookup_server, you can set the `lookup_server_source` config in `haze.toml`. This will mount your local checkout of the lookup server into the container.
You can then start slave instance with the following command:
```bash
@ -489,6 +491,7 @@ sources_root = "/path/to/sources" # path of the nextcloud sources. required
app_directories = ["/path/to/sources/more_app"] # paths to additional app directories.
work_dir = "/path/to/temp/dir" # path to temporary directory. optional, defaults to "/tmp/haze"
worktree_dir = "/path/to/worktrees" # where to create the worktrees of detached instances. optional, defaults to "<work_dir>/worktrees"
lookup_server_source = "/path/to/lookup-server" # optional, mount a local lookup-server checkout instead of the code bundled in the image
[auto_setup] # optional
enabled = false # whether or not to automatically install nextcloud on `haze start`. enabled by default