-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
106 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# flyctl launch added from .gitignore | ||
**/node_modules | ||
**/.tmp | ||
**/.idea | ||
**/.DS_Store | ||
**/.version | ||
**/dist | ||
**/.history | ||
|
||
# Logs | ||
**/logs | ||
**/*.log | ||
**/npm-debug.log* | ||
**/yarn-debug.log* | ||
**/yarn-error.log* | ||
|
||
# Runtime data | ||
**/pids | ||
**/*.pid | ||
**/*.seed | ||
**/*.pid.lock | ||
|
||
**/junit | ||
**/test-results.xml | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
**/lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
**/coverage | ||
|
||
# nyc test coverage | ||
**/.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
**/.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
**/bower_components | ||
|
||
# node-waf configuration | ||
**/.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
**/build/Release | ||
|
||
# Dependency directories | ||
**/node_modules | ||
**/jspm_packages | ||
|
||
# Optional npm cache directory | ||
**/.npm | ||
|
||
# Optional eslint cache | ||
**/.eslintcache | ||
|
||
# Optional REPL history | ||
**/.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
**/*.tgz | ||
|
||
# Yarn Integrity file | ||
**/.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
**/.env | ||
|
||
**/package-lock.json | ||
**/*.tsbuildinfo | ||
**/grzesiu.js | ||
|
||
# flyctl launch added from .husky/.gitignore | ||
.husky/**/_ | ||
|
||
# flyctl launch added from .husky/_/.gitignore | ||
.husky/_/**/* | ||
fly.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
console.log(process.versions); | ||
// MyDevil Hack | ||
require('./dist/src/index.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,47 @@ | ||
# fly.toml file generated for typeofweb-discord-bot on 2022-09-03T23:58:37+02:00 | ||
# fly.toml app configuration file generated for typeofweb-discord-bot-fragrant-wind-7657 on 2024-04-13T22:58:23-07:00 | ||
# | ||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file. | ||
# | ||
|
||
app = "typeofweb-discord-bot" | ||
primary_region = "waw" | ||
kill_signal = "SIGINT" | ||
kill_timeout = 5 | ||
processes = [] | ||
kill_timeout = "5s" | ||
|
||
[experimental] | ||
auto_rollback = true | ||
|
||
[build] | ||
builder = "heroku/buildpacks:20" | ||
builder = "heroku/builder:22" | ||
|
||
[env] | ||
PORT = "8080" | ||
|
||
[experimental] | ||
allowed_public_ports = [] | ||
auto_rollback = true | ||
|
||
[[services]] | ||
http_checks = [] | ||
protocol = "tcp" | ||
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"] | ||
[[services.ports]] | ||
port = 80 | ||
handlers = ["http"] | ||
force_https = true | ||
|
||
[[services.ports]] | ||
handlers = ["tls", "http"] | ||
[[services.ports]] | ||
port = 443 | ||
handlers = ["tls", "http"] | ||
|
||
[[services.tcp_checks]] | ||
grace_period = "1s" | ||
[services.concurrency] | ||
type = "connections" | ||
hard_limit = 25 | ||
soft_limit = 20 | ||
|
||
[[services.tcp_checks]] | ||
interval = "15s" | ||
restart_limit = 0 | ||
timeout = "2s" | ||
grace_period = "1s" | ||
|
||
[[vm]] | ||
memory = "512mb" | ||
cpu_kind = "shared" | ||
cpus = 1 |