forked from ArjunSahlot/summary_bot_opensource
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
60 lines (48 loc) · 1.24 KB
/
fly.toml
File metadata and controls
60 lines (48 loc) · 1.24 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
57
58
59
60
# fly.toml app configuration file generated on 2025-03-24T20:44:59-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'summary-bot-aparine'
primary_region = 'yyz'
[build]
# Add build args to toggle dev dependencies
[build.args]
INSTALL_DEV = "true"
[env]
# Note - this overrides *even anything passed on the command line* # GOTCHA
ENV = "development"
DEBUGPY_ENABLE = "true"
DEBUGPY_WAIT = "true"
PYDEVD_DISABLE_FILE_VALIDATION = "1"
[[services]]
internal_port = 8080
protocol = "tcp"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
# Optional: expose the debug port only when you're debugging
[[services]]
# Optional debugpy service port
internal_port = 5678
protocol = "tcp"
[[services.ports]]
# Don't expose this port publicly by default
port = 5678
handlers = []
[[services.tcp_checks]]
grace_period = "30s"
interval = "15s"
timeout = "2s"
[http_service]
internal_port = 8080
auto_stop_machines = 'off'
auto_start_machines = true
min_machines_running = 0 # TODO - change this
processes = ['app']
[[vm]]
memory = '2gb'
cpu_kind = 'shared'
cpus = 1