1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-08-02 12:14:46 +02:00

allow exec'ing service containers

This commit is contained in:
Robin Appelman 2026-06-03 15:28:25 +02:00
commit d138740bbd
7 changed files with 74 additions and 16 deletions

View file

@ -194,6 +194,14 @@ pub trait ServiceTrait {
fn proxy_port(&self) -> u16 {
80
}
fn exec_user(&self) -> &'static str {
"root"
}
fn exec_shell(&self) -> &'static str {
"bash"
}
}
#[derive(Clone, Eq, PartialEq, Debug)]
@ -242,6 +250,7 @@ pub enum ServiceType {
/// Ldap admin interface
LdapAdmin,
/// OnlyOffice
#[strum(serialize = "onlyoffice", serialize = "only-office")]
OnlyOffice,
/// Libre office online
Office,