-
Notifications
You must be signed in to change notification settings - Fork 3
/
fly.toml
75 lines (56 loc) · 1.15 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
65
66
67
68
69
70
71
72
73
74
75
app = "fly-ftp-server"
kill_signal = "SIGINT"
kill_timeout = 5
[env]
# fix zomble reaping:
TINI_SUBREAPER = true
# passive ports matching the first and last of those below, in [services]:
MIN_PORT = 21000
MAX_PORT = 21005
# (optional) uncomment the next line and put your Fly app's IPv4, got from running fly info:
#ADDRESS = '1.2.3.4'
[experimental]
allowed_public_ports = []
auto_rollback = true
# if you call your volume something else, update this part to match:
[mounts]
destination = "/data"
source = "ftp_data"
[[services]]
internal_port = 21
protocol = "tcp"
[[services.ports]]
port = 21
[[services.tcp_checks]]
interval = "5s"
timeout = "2s"
[[services]]
internal_port = 21000
protocol = "tcp"
[[services.ports]]
port = 21000
[[services]]
internal_port = 21001
protocol = "tcp"
[[services.ports]]
port = 21001
[[services]]
internal_port = 21002
protocol = "tcp"
[[services.ports]]
port = 21002
[[services]]
internal_port = 21003
protocol = "tcp"
[[services.ports]]
port = 21003
[[services]]
internal_port = 21004
protocol = "tcp"
[[services.ports]]
port = 21004
[[services]]
internal_port = 21005
protocol = "tcp"
[[services.ports]]
port = 21005