/ fly.toml
fly.toml
 1  # fly.toml app configuration file generated for cairo-outdoors on 2024-02-01T22:29:29-05:00
 2  #
 3  # See https://fly.io/docs/reference/configuration/ for information about how to use this file.
 4  #
 5  
 6  app = 'cairo-outdoors'
 7  primary_region = 'ord'
 8  console_command = '/code/manage.py shell'
 9  
10  [build]
11  
12  [env]
13    PORT = '8080'
14  
15  [http_service]
16    internal_port = 8080
17    force_https = true
18    auto_stop_machines = false
19    auto_start_machines = true
20    min_machines_running = 1
21    processes = ['app']
22  
23  [[vm]]
24    cpu_kind = 'shared'
25    cpus = 1
26    memory_mb = 256
27  
28  [[statics]]
29    guest_path = '/code/static'
30    url_prefix = '/static/'
31  
32  [mounts]
33    source="cairo_outdoors_volume"
34    destination="/data"