mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 08:44:09 +02:00
feat(franken): Expose Caddy admin endpoints through haze proxy
Available through: `ember --addr http://<cloud-id>-franken-php.haze.test` Signed-off-by: Louis Chmn <louis@chmn.me>
This commit is contained in:
parent
cf2184bc6b
commit
a130ebcad1
3 changed files with 20 additions and 1 deletions
|
|
@ -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