microservices/assignment-service/fly.toml

48 lines
1.1 KiB
TOML
Raw Normal View History

2025-05-15 10:43:08 -07:00
# fly.toml app configuration file generated for assignment-service on 2025-05-09T00:17:41-07:00
2025-04-24 11:36:30 -07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'assignment-service'
primary_region = 'sea'
[build]
2025-05-15 10:43:08 -07:00
[build]
# Only needed if you're using a Dockerfile — can be empty if using buildpacks or Node preset
# Removed the [http_service] section to disable public HTTP/HTTPS access
# [http_service]
# internal_port = 3000
# force_https = true
# auto_stop_machines = true
# auto_start_machines = true
# min_machines_running = 0
# processes = ["app"]
2025-04-24 11:36:30 -07:00
[[services]]
2025-05-15 10:43:08 -07:00
protocol = "tcp"
2025-04-24 11:36:30 -07:00
internal_port = 8080
2025-05-15 10:43:08 -07:00
internal_only = true # Makes this service only accessible internally
auto_start_machines = true
auto_stop_machines = true
2025-04-24 11:36:30 -07:00
2025-05-15 10:43:08 -07:00
# Removed public port exposure
# [[services.ports]]
# port = 80
# handlers = ["http"]
2025-04-24 11:36:30 -07:00
2025-05-15 10:43:08 -07:00
# [[services.ports]]
# port = 443
# handlers = ["tls", "http"]
2025-04-24 11:36:30 -07:00
2025-05-15 10:43:08 -07:00
[services.concurrency]
type = "requests"
hard_limit = 1000
soft_limit = 500
2025-04-24 11:36:30 -07:00
[[vm]]
memory = '1gb'
2025-05-15 10:43:08 -07:00
cpu_kind = "shared"
2025-04-24 11:36:30 -07:00
cpus = 1