22 lines
544 B
Nix
22 lines
544 B
Nix
{ testers }: testers.runNixOSTest {
|
|
name = "search.forkos.org";
|
|
nodes.machine = {
|
|
systemd.services.meilisearch.environment.MEILI_HTTP_PAYLOAD_SIZE_LIMIT = "512000000";
|
|
services.meilisearch = {
|
|
enable = true;
|
|
noAnalytics = true;
|
|
|
|
# packages.json is already >250mb
|
|
payloadSizeLimit = "512000000";
|
|
environment = "development";
|
|
masterKeyEnvironmentFile = null;
|
|
};
|
|
};
|
|
testScript = ''
|
|
start_all()
|
|
|
|
machine.wait_for_unit("meilisearch")
|
|
machine.wait_for_open_port(7700)
|
|
'';
|
|
}
|