# fly.toml file generated for automerge-repo-sync-server on 2022-10-04T13:06:08-07:00

app = "automerge-repo-sync-server"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[build]
  builder = "heroku/buildpacks:20"

[env]
  PORT = "3030"
  DEBUG = "DocSynchronizerConcise"

[experimental]
  allowed_public_ports = []
  auto_rollback = true

[mounts]
  source="automerge_storage"
  destination="/.amrg"

[[services]]
  http_checks = []
  internal_port = 3030
  processes = ["app"]
  protocol = "tcp"
  script_checks = []
  [services.concurrency]
    hard_limit = 250
    soft_limit = 200
    type = "connections"

  [[services.ports]]
    force_https = true
    handlers = ["http"]
    port = 80

  [[services.ports]]
    handlers = ["tls", "http"]
    port = 443

  [[services.tcp_checks]]
    grace_period = "1s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"
