diff --git a/fly.toml b/fly.toml index e1a5d4e..141a34d 100644 --- a/fly.toml +++ b/fly.toml @@ -10,26 +10,30 @@ kill_signal = 'SIGTERM' [build] [deploy] - release_command = '/app/bin/migrate' +release_command = '/app/bin/migrate' [env] - PHX_HOST = 'jol.fly.dev' - PORT = '8080' +PHX_HOST = 'jol.fly.dev' +PORT = '8080' [http_service] - internal_port = 8080 - force_https = true - auto_stop_machines = true - auto_start_machines = true - min_machines_running = 0 - processes = ['app'] +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 +[[http_service.checks]] +timeout = "30s" +grace_period = "5s" + +[http_service.concurrency] +type = 'connections' +hard_limit = 1000 +soft_limit = 1000 [[vm]] - memory = '1gb' - cpu_kind = 'shared' - cpus = 1 +memory = '1gb' +cpu_kind = 'shared' +cpus = 1