1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 16:54:08 +02:00

fix: Remove memory and cpu limit for containers

This allow to efficiently run psalm within the container.

Signed-off-by: Louis Chmn <louis@chmn.me>
This commit is contained in:
Louis Chmn 2026-08-08 21:02:08 +02:00
commit 45c3a9103f

View file

@ -31,8 +31,6 @@ pub enum PhpVersion {
Php80,
}
pub const PHP_MEMORY_LIMIT: i64 = 2 * 1024 * 1024 * 1024;
impl FromStr for PhpVersion {
type Err = ();
@ -202,8 +200,6 @@ impl PhpVersion {
network_mode: Some(network.to_string()),
binds: Some(volumes),
extra_hosts: Some(hosts),
memory: Some(PHP_MEMORY_LIMIT),
nano_cpus: Some(2_000_000_000),
..Default::default()
}),
networking_config: Some(NetworkingConfig {