File size: 1,383 Bytes
bfaed46
 
 
 
 
 
 
 
6c097a6
 
 
 
dbd7ab9
bfaed46
 
 
 
e64a813
350733c
bfaed46
 
350733c
 
 
 
 
 
 
 
 
 
 
 
bfaed46
 
 
 
350733c
 
bfaed46
350733c
 
bfaed46
350733c
bfaed46
 
 
 
68a8567
350733c
68a8567
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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