An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
<?php
namespace Database\Factories;
use App\Models\Application;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Application>
*/
class ApplicationFactory extends Factory
{
public function definition(): array
{
return [
'name' => fake()->unique()->words(2, true),
'destination_id' => 1,
'git_repository' => fake()->url(),
'git_branch' => fake()->word(),
'build_pack' => 'nixpacks',
'ports_exposes' => '3000',
'environment_id' => 1,
'destination_id' => 1,
'http_basic_auth_bcrypt_cost' => 10,
'http_basic_auth_argon2id_memory_cost' => 65536,
'http_basic_auth_argon2id_time_cost' => 4,
];
}
}