-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
47 lines (41 loc) · 1.16 KB
/
fly.toml
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
# fly.toml app configuration file generated for api-gunaulang on 2024-10-16T14:09:40Z
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'api-gunaulang'
primary_region = 'sin'
console_command = 'php /var/www/html/artisan tinker'
[build]
[build.args]
NODE_VERSION = '18'
PHP_VERSION = '8.2'
[env]
PORT="80"
APP_ENV = 'local'
LOG_CHANNEL = 'stderr'
LOG_LEVEL = 'info'
LOG_STDERR_FORMATTER = 'Monolog\Formatter\JsonFormatter'
SESSION_DRIVER = 'cookie'
SESSION_SECURE_COOKIE = 'true'
DB_CONNECTION = "mysql"
DB_HOST = "mysql-lively-glade-933.internal"
DB_DATABASE= "gunaulang"
APP_KEY="base64:JelAjb4lh/4PtiAnHewauJm5ysEqx7/BGgUcchpWv5Y="
APP_TIMEZONE="Asia/Jakarta"
APP_URL="https://api-gunaulang.fly.dev"
FRONTEND_URL="http://localhost:3000"
SESSION_DOMAIN="api-gunaulang.fly.dev"
SESSION_SAME_SITE="none"
[http_service]
internal_port = 80
force_https = true
auto_start_machines = true
min_machines_running = 1
processes = ['app']
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
[mounts]
source = "uploads_data"
destination = "/usr/share/nginx/html/public/uploads"