mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
add option for a separate redis container
This commit is contained in:
parent
6a043913fa
commit
54682a06b6
3 changed files with 84 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ mod onlyoffice;
|
|||
mod push;
|
||||
mod sftp;
|
||||
// mod sharding;
|
||||
mod redis;
|
||||
mod sharded;
|
||||
mod smb;
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ use crate::service::oc::Oc;
|
|||
pub use crate::service::office::Office;
|
||||
pub use crate::service::onlyoffice::OnlyOffice;
|
||||
pub use crate::service::push::NotifyPush;
|
||||
use crate::service::redis::Redis;
|
||||
use crate::service::sftp::Sftp;
|
||||
use crate::service::sharded::{Sharding, ShardingMigrate, ShardingMigrateUnset, SingleShard};
|
||||
use crate::service::smb::Smb;
|
||||
|
|
@ -215,6 +217,7 @@ pub enum Service {
|
|||
Oc(Oc),
|
||||
Imaginary(Imaginary),
|
||||
Mail(Mail),
|
||||
Redis(Redis),
|
||||
RedisTls(RedisTls),
|
||||
Preset(PresetService),
|
||||
}
|
||||
|
|
@ -260,6 +263,7 @@ impl Service {
|
|||
"clam-icap" => Some(vec![Service::ClamIcap(ClamIcap)]),
|
||||
"clam-icap-tls" => Some(vec![Service::ClamIcapTls(ClamIcapTls)]),
|
||||
"mail" => Some(vec![Service::Mail(Mail)]),
|
||||
"redis" => Some(vec![Service::Redis(Redis)]),
|
||||
"redis-tls" => Some(vec![Service::RedisTls(RedisTls)]),
|
||||
_ => presets
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue