36 lines
713 B
TOML
36 lines
713 B
TOML
# fly.toml app configuration file generated for us-api on 2024-09-01T10:29:03-06:00
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = 'us-api'
|
|
primary_region = 'den'
|
|
|
|
[build]
|
|
|
|
[http_service]
|
|
internal_port = 3000
|
|
force_https = true
|
|
auto_stop_machines = 'stop'
|
|
auto_start_machines = true
|
|
min_machines_running = 1
|
|
processes = ['app']
|
|
|
|
[[vm]]
|
|
size = 'shared-cpu-2x'
|
|
|
|
[env]
|
|
FILE_DEFAULT_TTL = "600"
|
|
S3_ENDPOINT="s3.us-west-002.backblazeb2.com"
|
|
S3_PORT="443"
|
|
S3_USE_SSL="true"
|
|
S3_BUCKET="api-us-dev"
|
|
REDIS_DB="0"
|
|
NODE_ENV="production"
|
|
JUNK_DRAWER_BUCKET_NAME="api-us-dev"
|
|
JUNK_DRAWER_ROOT_PATH="junk-drawer"
|
|
|
|
[metrics]
|
|
port = 3000
|
|
path = "/metrics"
|