-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfly.toml
48 lines (39 loc) · 1.19 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
# fly.toml app configuration file generated for portkey-demo on 2024-02-20T18:26:21+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'portkey-demo'
primary_region = 'ams'
[env]
PORTKEY_HOST = '0.0.0.0'
PORTKEY_METRICSHOST = '0.0.0.0'
[[services]]
internal_port = 3000
force_https = true
auto_stop_machines = "off"
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[services.concurrency]
hard_limit = 500
soft_limit = 400
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
force_https = true
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[services.ports.http_options.response.headers]
Strict-Transport-Security = 'max-age=31536000; includeSubDomains'
Content-Security-Policy = "default-src 'self' 'unsafe-eval' analytics.thisismy.cloud;"
X-Frame-Options = 'SAMEORIGIN'
X-Content-Type-Options = 'nosniff'
Referrer-Policy = 'strict-origin-when-cross-origin'
Permissions-Policy = "geolocation=(), microphone=(), camera=(), payment=(), fullscreen=(self)"
[metrics]
port = 3030
path = "/metrics"
[[vm]]
size = 'shared-cpu-1x'