medicode / fly.toml
timgremore's picture
feat: Try ligher weight and more accurate whisper
7494a1c
# fly.toml app configuration file generated for medicode on 2024-04-02T09:09:18-05:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'medicode'
primary_region = 'ord'
kill_signal = 'SIGTERM'
[build]
[deploy]
release_command = '/app/bin/migrate'
[env]
AUDIO_TAGGER_CACHE_DIR = '/data/cache/audio_tagger'
BUMBLEBEE_CACHE_DIR = '/data/cache/bumblebee'
PHX_HOST = 'medicode.fly.dev'
PORT = '8080'
RELEASE_COOKIE = '0gfxcPtwryKxI2O1N0eFAg9p4MJGC-oUGShgj_wgvNEGiba5EDEJFA=='
XLA_CACHE_DIR = '/data/cache/xla'
CUDA_HOME = '/usr/local/cuda'
[[mounts]]
source = 'data'
destination = '/data'
initial_size = '40gb'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = false
min_machines_running = 0
processes = ['app']
[http_service.concurrency]
type = 'connections'
hard_limit = 1000
soft_limit = 1000
[[vm]]
memory = '16gb'
cpu_kind = 'performance'
cpus = 4