# fly.toml app configuration file generated for ecoffee on 2025-03-11T20:11:31+01:00 # # See https://fly.io/docs/reference/configuration/ for information about how to use this file. # app = 'ecoffee' primary_region = 'fra' console_command = '/rails/bin/rails console' [build] [env] PORT = '8080' [processes] app = './bin/rails server' [deploy] release_command = "./bin/rails db:prepare" [http_service] internal_port = 8080 force_https = true auto_stop_machines = 'stop' auto_start_machines = true min_machines_running = 1 processes = ['app'] [[http_service.checks]] interval = '10s' timeout = '2s' grace_period = '5s' method = 'GET' path = '/up' protocol = 'http' tls_skip_verify = false [http_service.checks.headers] X-Forwarded-Proto = 'https' [[vm]] memory = '1gb' cpu_kind = 'shared' cpus = 1