mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 08:44:09 +02:00
Merge pull request 'Some improvements for Franken' (#55) from artonge/haze:artonge/fix/franken-php into main
Reviewed-on: https://codeberg.org/icewind/haze/pulls/55
This commit is contained in:
commit
e7c39f49f7
3 changed files with 21 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -496,3 +496,14 @@ name = "groupfolders" # name of the preset
|
|||
apps = ["groupfolders"] # app to enable
|
||||
commands = ["occ groupfolders:create gf", "occ groupfolders:group 1 admin read write share delete"] # commands to run post-setup
|
||||
```
|
||||
|
||||
## FrankenPHP (experimental)
|
||||
|
||||
You can have Nextcloud run on FrankenPHP.
|
||||
|
||||
Caddy's admin metrics are then accessible through
|
||||
`http://<cloud-id>-franken-php.haze.test`. With ember you can run:
|
||||
|
||||
```bash
|
||||
ember --addr http://<cloud-id>-franken-php.haze.test
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
[program:frankenphp]
|
||||
environment = SERVER_NAME=":80",CADDY_ADMIN=":2019"
|
||||
command = /bin/frankenphp run
|
||||
directory = /var/www/html
|
||||
user=haze
|
||||
|
|
@ -236,6 +236,14 @@ impl ServiceTrait for FrankenPhp {
|
|||
"franken-php"
|
||||
}
|
||||
|
||||
fn container_name(&self, cloud_id: &str) -> Option<String> {
|
||||
Some(cloud_id.to_string())
|
||||
}
|
||||
|
||||
fn proxy_port(&self) -> u16 {
|
||||
2019
|
||||
}
|
||||
|
||||
fn env(&self) -> &[&str] {
|
||||
&["FRANKENPHP=1"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue