Skip to content

Instantly share code, notes, and snippets.

@frostming
Last active October 13, 2023 03:33
Show Gist options
  • Save frostming/05f41d3e35bf798fd224bc23fc07fcd6 to your computer and use it in GitHub Desktop.
Save frostming/05f41d3e35bf798fd224bc23fc07fcd6 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"
@yunkuaiji
Copy link

问题解决了,谢 谢 。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment