-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforge-deployment.php
More file actions
56 lines (54 loc) · 1.69 KB
/
forge-deployment.php
File metadata and controls
56 lines (54 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
declare(strict_types=1);
return [
'php_executable' => '/Users/acidlake/Library/Application Support/Herd/bin/php84',
'server' => [
'name' => 'forge-kernel-demo',
'region' => 'nyc1',
'size' => 's-1vcpu-1gb',
'image' => 'ubuntu-22-04-x64',
'ssh_key_path' => null,
],
'provision' => [
'php_version' => '8.4',
'database_type' => 'sqlite',
'database_version' => '8',
'database_name' => 'forge_app',
'database_user' => 'forge_user',
'database_password' => 'secret',
],
'deployment' => [
'domain' => 'kernel.upper.do',
'ssl_email' => 'jeremias2@gmail.com',
'commands' => [],
'post_deployment_commands' => [
'cache:flush',
'cache:warm',
'db:migrate --type=all',
'storage:link',
'modules:forge-deployment:fix-permissions',
'modules:forgewire:minify',
'asset:link --type=module --module=forge-wire',
'asset:link --type=module --module=forge-debug-bar',
],
'env_vars' => [
'APP_ENV' => 'production',
'APP_DEBUG' => 'true',
'CENTRAL_DOMAIN' => 'kernel.upper.do',
'CORS_ALLOWED_ORIGINS' => [
'https://forge.upper.do',
],
'IP_WHITE_LIST' => [
'127.0.0.1',
'::1',
],
'FORGE_WIRE_USE_MINIFIED' => 'true',
'FORGE_WIRE_STALE_THRESHOLD' => 300,
'FORGE_DEBUG_BAR_ENABLED' => 'false',
'DISABLED_MODULES' => [
'ForgeMultiTenant',
'ForgeWelcome',
],
],
],
];