Files
us-api/fly.toml
2024-11-01 16:34:32 -06:00

45 lines
941 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'
# [mounts]
# source = "usapi_data"
# destination = "/data"
# initial_size = "20gb"
# auto_extend_size_increment = "10gb"
# auto_extend_size_threshold = 80
# auto_extend_size_limit = "200gb"
[env]
DATA_ROOT_PATH = "/data"
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"