forked from yjs/y-websocket-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
35 lines (27 loc) · 727 Bytes
/
fly.toml
File metadata and controls
35 lines (27 loc) · 727 Bytes
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
# fly.toml app configuration file generated for yjs-webrtc-signaling on 2024-10-09T12:13:34+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'yjs-webrtc-signaling'
primary_region = 'ams'
kill_signal = 'SIGINT'
kill_timeout = '5s'
[experimental]
auto_rollback = true
[build]
[http_service]
internal_port = 1234
force_https = true
auto_stop_machines = 'off'
auto_start_machines = true
min_machines_running = 1
processes = ['app']
[http_service.concurrency]
type = "connections" # Better for websockets than "requests"
soft_limit = 200
hard_limit = 250
[[vm]]
size = 'shared-cpu-1x'
memory = '512mb'
cpu_kind = 'shared'
cpus = 1