Files
keystone/config/keystone.php

83 lines
2.5 KiB
PHP

<?php
use App\Drivers\Caddy\Caddy2Driver;
use App\Drivers\Laravel\LaravelRuntimeDriver;
use App\Drivers\Postgres\Postgres18Driver;
use App\Drivers\Valkey\Valkey8Driver;
use App\Enums\ServiceCategory;
use App\Enums\ServiceType;
return [
'drivers' => [
'postgres' => [
'18' => Postgres18Driver::class,
],
'caddy' => [
'2' => Caddy2Driver::class,
],
'valkey' => [
'8' => Valkey8Driver::class,
],
'laravel' => [
'php-8.4' => LaravelRuntimeDriver::class,
],
],
'services' => [
ServiceCategory::DATABASE->value => [
ServiceType::POSTGRES->value => [
'name' => ServiceType::POSTGRES,
'description' => 'PostgreSQL',
'versions' => [
'18' => [
'name' => 'PostgreSQL 18',
'description' => 'PostgreSQL 18',
'image' => 'postgres:18',
],
],
],
],
ServiceCategory::GATEWAY->value => [
ServiceType::CADDY->value => [
'name' => ServiceType::CADDY,
'description' => 'Caddy',
'versions' => [
'2' => [
'name' => 'Caddy 2',
'description' => 'Caddy 2',
'image' => 'caddy:2',
],
],
],
],
ServiceCategory::APPLICATION->value => [
ServiceType::LARAVEL->value => [
'name' => ServiceType::LARAVEL,
'description' => 'Laravel managed runtime',
'versions' => [
'php-8.4' => [
'name' => 'Laravel PHP 8.4 FrankenPHP',
'description' => 'serversideup/php FrankenPHP Laravel runtime',
'image' => 'serversideup/php:8.4-frankenphp',
],
],
],
],
ServiceCategory::CACHE->value => [
ServiceType::VALKEY->value => [
'name' => ServiceType::VALKEY,
'description' => 'Valkey',
'versions' => [
'8' => [
'name' => 'Valkey 8',
'description' => 'Valkey 8',
'image' => 'valkey/valkey:8',
],
],
],
],
ServiceCategory::STORAGE->value => [
],
],
];