File tree 1 file changed +36
-30
lines changed
1 file changed +36
-30
lines changed Original file line number Diff line number Diff line change 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'
7
5
8
6
[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'
13
11
14
12
[[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'
19
15
20
16
[[services ]]
17
+ protocol = ' tcp'
21
18
internal_port = 6333
22
- protocol = " tcp"
23
19
auto_stop_machines = false
24
20
auto_start_machines = true
25
- min_machines_running = 3
21
+ min_machines_running = 0
26
22
27
23
[[services .ports ]]
28
- handlers = [" http" ]
29
24
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
30
35
31
- [[services .tcp_checks ]]
32
- interval = " 15s"
33
- grace_period = " 10s"
34
- restart_limit = 0
35
36
36
37
[[services ]]
37
- protocol = " tcp"
38
+ protocol = ' tcp'
38
39
internal_port = 6334
39
40
40
41
[[services .ports ]]
41
- handlers = []
42
42
port = 6334
43
- tls_options = { "alpn" = [" h2" ] }
44
-
43
+
44
+ [services .ports .tls_options ]
45
+ alpn = [' h2' ]
46
+
45
47
[[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
49
55
50
- [metrics ]
56
+ [[ metrics ] ]
51
57
port = 6333
52
- path = " /metrics"
58
+ path = ' /metrics'
You can’t perform that action at this time.
0 commit comments