1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

update dependencies

This commit is contained in:
Robin Appelman 2023-05-04 18:42:56 +02:00
commit f8253fb68e
13 changed files with 537 additions and 222 deletions

725
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
[package] [package]
name = "haze" name = "haze"
version = "1.2.1" version = "1.3.0"
authors = ["Robin Appelman <robin@icewind.nl>"] authors = ["Robin Appelman <robin@icewind.nl>"]
edition = "2018" edition = "2018"
repository = "https://github.com/icewind1991/haze" repository = "https://github.com/icewind1991/haze"
@ -8,31 +8,31 @@ license = "MIT"
description = "Easy setup and management of Nextcloud test instances using docker" description = "Easy setup and management of Nextcloud test instances using docker"
[dependencies] [dependencies]
bollard = "0.13.0" bollard = "0.14.0"
maplit = "1.0.2" maplit = "1.0.2"
camino = { version = "1.1.3", features = ["serde1"] } camino = { version = "1.1.4", features = ["serde1"] }
tokio = { version = "1.25.0", features = ["fs", "macros", "signal"] } tokio = { version = "1.28.0", features = ["fs", "macros", "signal"] }
parse-display = "0.8.0" parse-display = "0.8.0"
futures-util = "0.3.26" futures-util = "0.3.28"
termion = "2.0.1" termion = "2.0.1"
opener = "0.5.2" opener = "0.6.1"
toml = "0.7.2" toml = "0.7.3"
directories-next = "2.0.0" directories-next = "2.0.0"
serde = "1.0.152" serde = "1.0.160"
petname = "1.1.3" petname = "1.1.3"
reqwest = { version = "0.11.14", default-features = false } reqwest = { version = "0.11.17", default-features = false }
tar = "0.4.38" tar = "0.4.38"
flate2 = "1.0.25" flate2 = "1.0.26"
async-trait = "0.1.64" async-trait = "0.1.68"
enum_dispatch = "0.3.11" enum_dispatch = "0.3.11"
miette = { version = "5.5.0", features = ["fancy"] } miette = { version = "5.8.0", features = ["fancy"] }
shell-words = "1.1.0" shell-words = "1.1.0"
warp = "0.3" warp = "0.3"
tokio-stream = { version = "0.1.12", features = ["net"] } tokio-stream = { version = "0.1.14", features = ["net"] }
tracing = "0.1.37" tracing = "0.1.37"
tracing-subscriber = "0.3.16" tracing-subscriber = "0.3.17"
hyper-reverse-proxy = { version = "0.5.2-dev", git = "https://github.com/felipenoris/hyper-reverse-proxy" } hyper-reverse-proxy = { version = "0.5.2-dev", git = "https://github.com/felipenoris/hyper-reverse-proxy" }
hyper = "0.14.24" hyper = "0.14.26"
atty = "0.2.14" atty = "0.2.14"
[profile.release] [profile.release]

View file

@ -197,6 +197,7 @@ impl Database {
} }
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: format!("{}-db", cloud_id), name: format!("{}-db", cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(self.image()), image: Some(self.image()),

View file

@ -139,11 +139,7 @@ pub fn default_mappings<'a>() -> impl IntoIterator<Item = Mapping<'a>> {
"composer/cache", "composer/cache",
"/home/haze/.composer/cache", "/home/haze/.composer/cache",
), ),
Mapping::new( Mapping::new(GlobalWorkDir, "node_modules", "/var/www/html/node_modules"),
GlobalWorkDir,
"node_modules",
"/var/www/html/node_modules",
),
Mapping::new( Mapping::new(
GlobalWorkDir, GlobalWorkDir,
"phpunit-cache", "phpunit-cache",

View file

@ -100,6 +100,7 @@ impl PhpVersion {
pull_image(docker, self.image()).await?; pull_image(docker, self.image()).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: id.to_string(), name: id.to_string(),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(self.image().to_string()), image: Some(self.image().to_string()),

View file

@ -37,6 +37,7 @@ impl ServiceTrait for ClamIcap {
pull_image(docker, image).await?; pull_image(docker, image).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: self.container_name(cloud_id), name: self.container_name(cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(image), image: Some(image),

View file

@ -37,6 +37,7 @@ impl ServiceTrait for Kaspersky {
pull_image(docker, image).await?; pull_image(docker, image).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: self.container_name(cloud_id), name: self.container_name(cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(image), image: Some(image),
@ -137,6 +138,7 @@ impl ServiceTrait for KasperskyIcap {
pull_image(docker, image).await?; pull_image(docker, image).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: self.container_name(cloud_id), name: self.container_name(cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(image), image: Some(image),

View file

@ -32,6 +32,7 @@ impl ServiceTrait for LDAP {
pull_image(docker, image).await?; pull_image(docker, image).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: self.container_name(cloud_id), name: self.container_name(cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(image), image: Some(image),
@ -100,6 +101,7 @@ impl ServiceTrait for LDAPAdmin {
pull_image(docker, image).await?; pull_image(docker, image).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: self.container_name(cloud_id), name: self.container_name(cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(image), image: Some(image),

View file

@ -75,6 +75,7 @@ impl ServiceTrait for ObjectStore {
pull_image(docker, self.image()).await?; pull_image(docker, self.image()).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: format!("{}-object", cloud_id), name: format!("{}-object", cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(self.image()), image: Some(self.image()),

View file

@ -33,6 +33,7 @@ impl ServiceTrait for Office {
let container_id = self.container_name(cloud_id); let container_id = self.container_name(cloud_id);
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: container_id.clone(), name: container_id.clone(),
..CreateContainerOptions::default()
}); });
let mut env = vec!["extra_params=--o:ssl.enable=false --o:ssl.termination=true"]; let mut env = vec!["extra_params=--o:ssl.enable=false --o:ssl.termination=true"];

View file

@ -32,6 +32,7 @@ impl ServiceTrait for OnlyOffice {
pull_image(docker, image).await?; pull_image(docker, image).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: self.container_name(cloud_id), name: self.container_name(cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(image), image: Some(image),

View file

@ -31,6 +31,7 @@ impl ServiceTrait for NotifyPush {
pull_image(docker, image).await?; pull_image(docker, image).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: self.container_name(cloud_id), name: self.container_name(cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(image), image: Some(image),

View file

@ -28,6 +28,7 @@ impl ServiceTrait for Smb {
pull_image(docker, image).await?; pull_image(docker, image).await?;
let options = Some(CreateContainerOptions { let options = Some(CreateContainerOptions {
name: self.container_name(cloud_id), name: self.container_name(cloud_id),
..CreateContainerOptions::default()
}); });
let config = Config { let config = Config {
image: Some(image), image: Some(image),