Skip to content

Commit acb88ad

Browse files
committed
clean up config
1 parent 17f8353 commit acb88ad

File tree

1 file changed

+36
-30
lines changed

1 file changed

+36
-30
lines changed

fly.toml

+36-30
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,58 @@
1-
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
2-
app = " "
3-
primary_region = " "
4-
5-
kill_signal = "SIGTERM"
6-
kill_timeout = 300
1+
app = ''
2+
primary_region = ''
3+
kill_signal = 'SIGTERM'
4+
kill_timeout = '5m0s'
75

86
[env]
9-
QDRANT__SERVICE__HOST= "::"
10-
QDRANT__CLUSTER__ENABLED = "true"
11-
QDRANT__STORAGE__SNAPSHOTS_PATH = "/data/qdrant/snapshots"
12-
QDRANT__STORAGE__STORAGE_PATH = "/data/qdrant/storage"
7+
QDRANT__CLUSTER__ENABLED = 'true'
8+
QDRANT__SERVICE__HOST = '::'
9+
QDRANT__STORAGE__SNAPSHOTS_PATH = '/data/qdrant/snapshots'
10+
QDRANT__STORAGE__STORAGE_PATH = '/data/qdrant/storage'
1311

1412
[[mounts]]
15-
source = "qdrant_data"
16-
destination = "/data"
17-
18-
# Expose 6333 and 6334 so that we can use Flycast in client apps
13+
source = 'qdrant_data'
14+
destination = '/data'
1915

2016
[[services]]
17+
protocol = 'tcp'
2118
internal_port = 6333
22-
protocol = "tcp"
2319
auto_stop_machines = false
2420
auto_start_machines = true
25-
min_machines_running = 3
21+
min_machines_running = 0
2622

2723
[[services.ports]]
28-
handlers = ["http"]
2924
port = 6333
25+
handlers = ['http']
26+
27+
[[services.http_checks]]
28+
interval = 10000
29+
grace_period = "5s"
30+
method = "get"
31+
path = "/healthz"
32+
protocol = "http"
33+
timeout = 2000
34+
tls_skip_verify = false
3035

31-
[[services.tcp_checks]]
32-
interval = "15s"
33-
grace_period = "10s"
34-
restart_limit = 0
3536

3637
[[services]]
37-
protocol = "tcp"
38+
protocol = 'tcp'
3839
internal_port = 6334
3940

4041
[[services.ports]]
41-
handlers = []
4242
port = 6334
43-
tls_options = { "alpn" = ["h2"] }
44-
43+
44+
[services.ports.tls_options]
45+
alpn = ['h2']
46+
4547
[[services.tcp_checks]]
46-
interval = "15s"
47-
grace_period = "10s"
48-
restart_limit = 0
48+
interval = '15s'
49+
grace_period = '10s'
50+
51+
[[vm]]
52+
memory = '1gb'
53+
cpu_kind = 'shared'
54+
cpus = 1
4955

50-
[metrics]
56+
[[metrics]]
5157
port = 6333
52-
path = "/metrics"
58+
path = '/metrics'

0 commit comments

Comments
 (0)