help updated with fly deployment file

This commit is contained in:
John Facey
2022-10-06 15:23:09 -05:00
parent 5514e68d96
commit d403aa2cf5
3 changed files with 57 additions and 0 deletions

View File

@@ -47,6 +47,20 @@ It should be assumed every server will need its own Airtable Base and the coresp
**!stock** - AlphaVantage Stock Search: *!stock IBM*
**!play** - Plays a trivia game question: *!play*
**!answer** - Answers for a question above: *!answer 1*
**!npm** - Gets NPM info from repository: *!npm axios*
**!alert** - Gets weather alerts for an area: *!alert TX*
**!calc** - Do math: *!calc 2 + 2*
**!food** - Selects a random recipe: *!food*
**!code** - Searches for code snippets: *!code python loop*
Example:
![Airtable](./assets/ss1.png)

View File

@@ -24,6 +24,7 @@ module.exports = {
**!alert** - Gets weather alerts for an area: *!alert TX*
**!calc** - Do math: *!calc 2 + 2*
**!food** - Selects a random recipe: *!food*
**!code** - Searches for code snippets: *!code python loop*
`
);
}

42
fly.toml Normal file
View File

@@ -0,0 +1,42 @@
# fly.toml file generated for linkflayer on 2022-10-06T15:06:49-05:00
app = "linkflayer"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
builder = "heroku/buildpacks:20"
[env]
PORT = "8080"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[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"