-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
52 lines (44 loc) · 1.19 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
50
51
52
# fly.toml app configuration file generated for john-jw-8 on 2023-09-07T11:31:34+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "john-jw-8"
primary_region = "lhr"
kill_signal = "SIGINT"
kill_timeout = "5s"
console_command = "php /var/www/html/artisan tinker"
[build]
[build.args]
NODE_VERSION = "18"
PHP_VERSION = "8.1"
[deploy]
release_command = "php /var/www/html/artisan migrate --force"
[env]
APP_URL="https://john-jw-8.fly.dev"
APP_ENV = "production"
DB_CONNECTION = "mysql"
DB_DATABASE = "john-jw-8"
DB_HOST = "lhr.john-jw-8-mysql.internal"
LOG_CHANNEL = "stderr"
LOG_LEVEL = "info"
LOG_STDERR_FORMATTER = "Monolog\\Formatter\\JsonFormatter"
SESSION_DRIVER = "cookie"
SESSION_SECURE_COOKIE = "true"
[mounts]
source="storage_vol"
destination="/var/www/html/storage"
[[services]]
protocol = "tcp"
internal_port = 8080
processes = ["app"]
[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20