-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfly.toml
43 lines (35 loc) · 842 Bytes
/
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
# fly.toml app configuration file generated for minecraft-mc on 2024-07-18T19:26:58+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'minecraft-mc'
primary_region = 'lhr'
kill_signal = 'SIGINT'
kill_timeout = '5s'
[build]
image = 'itzg/minecraft-server:latest'
[env]
AUTOSTOP_PKILL_USE_SUDO = 'TRUE'
AUTOSTOP_TIMEOUT_EST = '120'
AUTOSTOP_TIMEOUT_INIT = '120'
ENABLE_AUTOSTOP = 'TRUE'
EULA = 'TRUE'
MEMORY = '1G'
PRIMARY_REGION = 'lhr'
[[mounts]]
source = 'mc_server'
destination = '/data'
processes = ['app']
[[services]]
protocol = 'tcp'
internal_port = 25565
[[services.ports]]
port = 25565
[services.concurrency]
type = 'connections'
hard_limit = 25
soft_limit = 20
[[vm]]
memory = '2gb'
cpu_kind = 'shared'
cpus = 4