-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.toml
64 lines (52 loc) · 1.19 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
# fly.toml app configuration file generated for yerba-dev on 2023-06-19T23:37:39-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "yerba-dev"
primary_region = "sjc"
kill_signal = "SIGINT"
kill_timeout = "15s"
[build]
dockerfile = "server/docker/Dockerfile"
[env]
DB_ADDR = "file:/data/sqlite3.db"
SPACES_DIR = "/data/2/spaces"
DEMO_DIR = "server/demo-space"
NODE_ENV = "production"
PORT = "8080"
VITE_SERVER_BASE = "yerba-dev.fly.dev"
PYTHON_SERVER_ROOT = "http://yerba-dev.fly.dev:5001"
[mounts]
source = "yerbadev"
destination = "/data"
[processes]
server = "server"
python = "python -m yerba.main"
[http_service]
processes = ["server"]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
[http_service.concurrency]
type = "requests"
soft_limit = 200
hard_limit = 250
[[services]]
http_checks = []
internal_port = 5001
processes = ['python']
protocol = "tcp"
script_checks = []
tcp_checks = []
[services.concurrency]
hard_limit = 10
soft_limit = 5
type = "connections"
[[services.ports]]
handlers = []
port = 5001
[experimental]
auto_rollback = true
entrypoint = ["entrypoint.sh"]