medicode / fly.toml
timgremore's picture
chore: Increase Fly memory
68a8567
raw
history blame
1.38 kB
# fly.toml app configuration file generated for medical-transcription-cpu on 2024-01-22T15:15:29-06:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "medical-transcription-cpu"
primary_region = "ord"
kill_signal = "SIGTERM"
# TODO: Enable the following line and install the necessary CUDA packages in the Dockerfile for GPU usage.
# The volumes will need to be recreated as well to match the GPU kind.
# See https://fly.io/docs/gpus/gpu-quickstart/
# and https://fly.io/docs/gpus/getting-started-gpus/
# vm.size = "a100-40gb"
[build]
[deploy]
release_command = '/app/bin/migrate'
[env]
AUDIO_TAGGER_CACHE_DIR = '/data/cache/audio_tagger'
BUMBLEBEE_CACHE_DIR = '/data/cache/bumblebee'
# ELIXIR_ERL_OPTIONS = '-proto_dist inet6_tcp'
PHX_HOST = 'medical-transcription-cpu.fly.dev'
PORT = '8080'
RELEASE_COOKIE = '0gfxcPtwryKxI2O1N0eFAg9p4MJGC-oUGShgj_wgvNEGiba5EDEJFA=='
XLA_CACHE_DIR = '/data/cache/xla'
[[mounts]]
source = 'data'
destination = '/data'
initial_size = '40gb'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[http_service.concurrency]
type = 'connections'
hard_limit = 1000
soft_limit = 1000
[[vm]]
memory = '8gb'
cpu_kind = 'shared'
cpus = 4