-
Notifications
You must be signed in to change notification settings - Fork 4
/
fly.prod.toml
52 lines (43 loc) · 964 Bytes
/
fly.prod.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 uspesnyprvnacek-test on 2023-05-28T12:18:58+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "uspesnyprvnacek"
kill_signal = "SIGINT"
kill_timeout = "5s"
primary_region = "fra"
[experimental]
auto_rollback = true
[deploy]
release_command = "python manage.py migrate --noinput"
[env]
BANK_ACTIVE = "True"
DEBUG = "False"
DEPLOYED = "True"
DJANGO_SETTINGS_MODULE = "up.settings.production"
ENVIRONMENT = "prod-fly"
PORT = "8000"
[[services]]
internal_port = 8000
processes = ["app"]
protocol = "tcp"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 256