-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfly.toml
More file actions
58 lines (44 loc) · 1.56 KB
/
fly.toml
File metadata and controls
58 lines (44 loc) · 1.56 KB
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
# fly.toml app configuration file generated for replane-prod on 2025-12-27T20:41:29+03:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'replane-prod'
primary_region = 'iad'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = false
auto_start_machines = false
processes = ['app']
[http_service.concurrency]
type = "connections"
soft_limit = 1000
[[http_service.checks]]
interval = "15s"
timeout = "2s"
grace_period = "30s"
method = "GET"
path = "/api/health"
[env]
APP_TITLE = "Replane: Dynamic Configuration Platform"
APP_DESCRIPTION = "Open-source platform for feature flags, remote configuration, and A/B testing. Real-time updates with zero downtime."
BASE_URL = "https://replane.example.com"
PORT = "8080"
SWAP_SIZE = "2048M"
# pgbouncer allows 200 max connections, we deploy 6 replicas = 200 / 6 ~= 30
DATABASE_MAX_CONNECTIONS = "30"
EMAIL_FROM = "noreply@replane.dev"
MAGIC_LINK_ENABLED = "true"
SENTRY_DSN = "https://91b9a5d0d1dca2615d6f3fbc085d1dc8@o4510523200503808.ingest.de.sentry.io/4510523212431440"
SENTRY_ENVIRONMENT = "production"
SENTRY_TRACES_SAMPLE_RATE = "0.1"
REPLANE_BASE_URL = "https://replane.example.com"
REPLANE_SDK_KEY = "rp_bc00ae4689b434600899a6f244f286608ba357ad740b3126019b62195e6877b99b6476a2cbe16ad2"
# we also use fly.io secrets for variables like EMAIL_SERVER/GITHUB_CLIENT_SECRET/etc
[[vm]]
cpus = 1
cpu_kind = "shared"
memory = '512mb'
[metrics]
port = 8080
path = "/metrics"