-
-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathfly.toml
More file actions
58 lines (46 loc) · 1.13 KB
/
Copy pathfly.toml
File metadata and controls
58 lines (46 loc) · 1.13 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 for atom-saas
# Unified Dual-App Configuration (Next.js + FastAPI)
app = 'atom-saas'
primary_region = 'iad'
[build]
dockerfile = 'Dockerfile'
[env]
# Domain Config
APP_DOMAIN = 'atomagentos.com'
API_BASE_URL = 'https://atomagentos.com'
# Frontend Config
PORT = '3000'
NODE_ENV = 'production'
NEXTAUTH_URL = 'https://atomagentos.com'
NEXT_PUBLIC_APP_URL = 'https://atomagentos.com'
# Backend Config (Internal Proxy)
PYTHON_BACKEND_URL = 'http://localhost:8000'
ENVIRONMENT = 'production'
ENABLE_SCHEDULER = 'true'
# Misc
AWS_SQS_DISABLE_JSON_PROTOCOL = 'true'
[processes]
app = '/app/start-dual-app.sh'
[[services]]
protocol = 'tcp'
internal_port = 3000
auto_stop_machines = 'off'
auto_start_machines = true
min_machines_running = 1
processes = ['app']
[[services.ports]]
port = 80
handlers = ['http']
force_https = true
[[services.ports]]
port = 443
handlers = ['tls', 'http']
[services.concurrency]
type = 'requests'
hard_limit = 200
soft_limit = 160
[[vm]]
memory = '2gb'
cpus = 1
memory_mb = 2048
processes = ['app']