diff --git a/app/Services/Typesense.php b/app/Services/Typesense.php new file mode 100644 index 00000000..a585a05e --- /dev/null +++ b/app/Services/Typesense.php @@ -0,0 +1,32 @@ + 'volume', + 'prompt' => 'What is the Docker volume name?', + 'default' => 'typesense_data', + ], + [ + 'shortname' => 'admin_key', + 'prompt' => 'What will the admin API key be?', + 'default' => 'typesenseadmin', + ], + ]; + + protected $dockerRunTemplate = '-p "${:port}":8108 \ + -v "${:volume}":/data \ + "${:organization}"/"${:image_name}":"${:tag}" \ + --data-dir /data \ + --api-key="${:admin_key}"'; + + protected static $displayName = 'Typesense'; +}