Skip to content

Instantly share code, notes, and snippets.

@sinchang
Forked from frostming/fly.toml
Created April 25, 2023 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sinchang/f55c43cc5d09d6764037f8634a060535 to your computer and use it in GitHub Desktop.
Save sinchang/f55c43cc5d09d6764037f8634a060535 to your computer and use it in GitHub Desktop.
A Fly.io config file for OpenCat™ for Team that can be deployed directly
# fly.toml file generated for still-snowflake-6351 on 2023-03-30T09:53:40+08:00
kill_signal = "SIGINT"
kill_timeout = 5
primary_region = "sin"
processes = []
[build]
image = "bayedev/opencatd"
[mount]
source = "opencat"
destination = "/opt/db"
[experimental]
auto_rollback = true
[[services]]
internal_port = 80
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment