-
Notifications
You must be signed in to change notification settings - Fork 118
/
Copy pathfly.toml
64 lines (54 loc) · 1.27 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
53
54
55
56
57
58
59
60
61
62
63
64
app = "inlinegamesbot"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
builder = "heroku/buildpacks:20"
#builder = "paketobuildpacks/builder:full"
#buildpacks = ["gcr.io/paketo-buildpacks/php"]
#[build.args]
# BP_PHP_VERSION = "8.0"
[deploy]
release_command = "php bin/console post-install"
[env]
STORAGE_CLASS="Bot\\Storage\\Driver\\File"
DATA_PATH="/data"
LOG_NO_DATE_PREFIX=true
WORKER_INTERVAL=60
WORKER_MEMORY_LIMIT="64M"
LIST_MEMORY_LIMIT="64M"
# The following are required by Heroku builder
PORT=8080
DOCUMENT_ROOT="public/"
WEB_CONCURRENCY=10
[mounts]
source="data"
destination="/data"
#[processes]
# app = "php -S 0.0.0.0:8080 -t /workspace/public"
# worker_app = "php bin/console worker"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"