help updated with fly deployment file
This commit is contained in:
14
README.md
14
README.md
@@ -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*
|
**!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:
|
Example:
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -24,6 +24,7 @@ module.exports = {
|
|||||||
**!alert** - Gets weather alerts for an area: *!alert TX*
|
**!alert** - Gets weather alerts for an area: *!alert TX*
|
||||||
**!calc** - Do math: *!calc 2 + 2*
|
**!calc** - Do math: *!calc 2 + 2*
|
||||||
**!food** - Selects a random recipe: *!food*
|
**!food** - Selects a random recipe: *!food*
|
||||||
|
**!code** - Searches for code snippets: *!code python loop*
|
||||||
`
|
`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
42
fly.toml
Normal file
42
fly.toml
Normal 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"
|
||||||
Reference in New Issue
Block a user