ogeti siva satyanarayana commited on
Commit
e52d92f
·
1 Parent(s): 85f3569

Create fly.toml

Browse files
Files changed (1) hide show
  1. fly.toml +25 -0
fly.toml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ app = "media-gen-api"
2
+
3
+ [build]
4
+ image = "tiangolo/uvicorn-gunicorn-fastapi:python3.10"
5
+
6
+ [env]
7
+ PYTHONUNBUFFERED = "1"
8
+
9
+ [[services]]
10
+ internal_port = 80
11
+ protocol = "tcp"
12
+
13
+ [[services.ports]]
14
+ handlers = ["http"]
15
+ port = 80
16
+
17
+ [[services.ports]]
18
+ handlers = ["tls", "http"]
19
+ port = 443
20
+
21
+ [[services.tcp_checks]]
22
+ interval = "15s"
23
+ timeout = "2s"
24
+ grace_period = "5s"
25
+ restart_limit = 0