-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfly.toml
49 lines (42 loc) · 1.1 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
48
49
# fly.toml app configuration file generated for tourney on 2025-01-12T16:17:37+07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'tourney'
primary_region = 'sin'
console_command = 'php /var/www/html/artisan tinker'
[build]
[build.args]
NODE_VERSION = '18'
PHP_VERSION = '8.2'
[deploy]
release_command = 'php /var/www/html/artisan migrate --force'
[env]
APP_NAME = 'Tourney'
APP_ENV = 'staging'
APP_LOCALE = 'id'
APP_FAKER_LOCALE = 'id_ID'
CACHE_STORE = 'redis'
DB_CONNECTION = 'pgsql'
LOG_CHANNEL = 'stack'
LOG_STACK = 'stderr,sentry'
LOG_LEVEL = 'info'
LOG_STDERR_FORMATTER = 'Monolog\Formatter\JsonFormatter'
QUEUE_CONNECTION = 'redis'
SESSION_DRIVER = 'redis'
SESSION_SECURE_COOKIE = 'true'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[mounts]
source = 'tourney'
destination = '/var/www/html/storage/app'
processes = ['app']
[[vm]]
memory = '512MB'
cpu_kind = 'shared'
cpus = 1