-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
33 lines (27 loc) · 732 Bytes
/
Copy pathfly.toml
File metadata and controls
33 lines (27 loc) · 732 Bytes
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
# Fly.io Deployment Configuration
# Free tier: 3 shared-cpu-1x VMs, 256MB RAM each
# Deploy with: flyctl launch --dockerfile backend/product-service/Dockerfile
app = "supplychain-auth-api"
primary_region = "iad" # US East (Virginia)
[build]
dockerfile = "backend/product-service/Dockerfile"
[env]
SPRING_PROFILES_ACTIVE = "prod"
JAVA_OPTS = "-Xmx384m -XX:+UseG1GC"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[[http_service.checks]]
grace_period = "30s"
interval = "30s"
method = "GET"
timeout = "10s"
path = "/api/verify/health"
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 512