-
-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathfly.api.json
More file actions
92 lines (79 loc) · 1.51 KB
/
fly.api.json
File metadata and controls
92 lines (79 loc) · 1.51 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"app": "atom-saas-api",
"primary_region": "iad",
"build": {
"args": {
"CACHE_BUST": "20260222"
},
"dockerfile": "Dockerfile.api"
},
"deploy": {},
"env": {
"ALLOWED_ORIGINS": "https://atom-saas.fly.dev,https://atomagentos.com",
"DATABASE_URL": "",
"ENVIRONMENT": "production",
"FRONTEND_URL": "https://atomagentos.com",
"PORT": "8000",
"PYTHONUNBUFFERED": "1",
"PYTHON_BACKEND_URL": "https://atom-saas-api.fly.dev"
},
"http_service": {
"internal_port": 8000,
"force_https": true,
"auto_stop_machines": true,
"auto_start_machines": true,
"min_machines_running": 1,
"processes": [
"app"
],
"checks": [
{
"interval": "30s",
"timeout": "10s",
"grace_period": "1m30s",
"method": "GET",
"path": "/alive"
}
]
},
"services": [
{
"protocol": "tcp",
"internal_port": 8000,
"ports": [
{
"port": 8080,
"handlers": [
"tls",
"http"
]
}
],
"concurrency": {
"type": "connections",
"hard_limit": 25,
"soft_limit": 20
},
"tcp_checks": [
{
"interval": "15s",
"timeout": "2s",
"grace_period": "1s"
}
],
"processes": [
"app"
]
}
],
"vm": [
{
"cpu_kind": "shared",
"cpus": 1,
"memory_mb": 1024,
"processes": [
"app"
]
}
]
}