mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 17:55:06 +00:00
Lower memory requirement for test-vm
This commit is contained in:
parent
7c123db1a3
commit
3d93439b28
6
flake.lock
generated
6
flake.lock
generated
@ -6,11 +6,11 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1710025500,
|
||||
"narHash": "sha256-niJf4WZ4GHQ+RaP+Qj4+6P/2SWN1Z4co36/ETvIg0Qg=",
|
||||
"lastModified": 1710099997,
|
||||
"narHash": "sha256-WmBKTLdth6I/D+0//9enbIXohGsBjepbjIAm9pCYj0U=",
|
||||
"owner": "eikek",
|
||||
"repo": "devshell-tools",
|
||||
"rev": "57d7d292571e291fe8213a1655529f739cfa174d",
|
||||
"rev": "e82faf976d318b3829f6f7f6785db6f3c7b65267",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
10
flake.nix
10
flake.nix
@ -28,7 +28,9 @@
|
||||
redocly-cli
|
||||
tailwindcss
|
||||
];
|
||||
devshellPkgs = ciPkgs ++ (with pkgs; [
|
||||
devshellPkgs =
|
||||
ciPkgs
|
||||
++ (with pkgs; [
|
||||
jq
|
||||
scala-cli
|
||||
netcat
|
||||
@ -161,6 +163,9 @@
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
{
|
||||
networking.hostName = "dev-vm";
|
||||
virtualisation.memorySize = 2048;
|
||||
|
||||
services.dev-postgres = {
|
||||
enable = true;
|
||||
databases = ["docspell"];
|
||||
@ -170,8 +175,8 @@
|
||||
services.dev-solr = {
|
||||
enable = true;
|
||||
cores = ["docspell"];
|
||||
heap = 512;
|
||||
};
|
||||
|
||||
port-forward.ssh = 10022;
|
||||
port-forward.dev-postgres = 6534;
|
||||
port-forward.dev-smtp = 10025;
|
||||
@ -180,7 +185,6 @@
|
||||
port-forward.dev-minio-api = 9000;
|
||||
port-forward.dev-minio-console = 9001;
|
||||
port-forward.dev-solr = 8983;
|
||||
networking.hostName = "dev-vm";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@ -22,6 +22,7 @@ in {
|
||||
services.dev-solr = {
|
||||
enable = true;
|
||||
cores = ["docspell"];
|
||||
heap = 512;
|
||||
};
|
||||
|
||||
port-forward.dev-webmail = 8080;
|
||||
@ -39,7 +40,8 @@ in {
|
||||
firewall.allowedTCPPorts = [7880];
|
||||
};
|
||||
|
||||
virtualisation.memorySize = 6144;
|
||||
virtualisation.memorySize = 2048;
|
||||
virtualisation.cores = 2;
|
||||
|
||||
virtualisation.forwardPorts = [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user