-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
8 changed files
with
60 additions
and
97 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -44,6 +44,8 @@ feature_flag: | |
dukun: false | ||
under_attack: true | ||
reminder: false | ||
deletion: false | ||
http_server: false | ||
home_group_id: 0 # Assuming default value | ||
admin_ids: [ ] | ||
# Optional sentry.io DSN, you can track project errors & performance there | ||
|
@@ -72,7 +74,9 @@ under_attack: | |
"badwords_insertion": false, | ||
"dukun": false, | ||
"under_attack": true, | ||
"reminder": false | ||
"reminder": false, | ||
"deletion": false, | ||
"http_server": false | ||
}, | ||
"home_group_id": 0, | ||
"admin_ids": [], | ||
|
@@ -107,6 +111,8 @@ Optional: | |
* FEATURE_FLAG_DUKUN: (Default: "false") | ||
* FEATURE_FLAG_UNDER_ATTACK: (Default: "true") | ||
* FEATURE_FLAG_REMINDER: (Default: "false") | ||
* FEATURE_FLAG_DELETION: (Default: "false") | ||
* FEATURE_FLAG_HTTP_SERVER: (Default: "false") | ||
* HOME_GROUP_ID: (No default value provided) | ||
* ADMIN_IDS: (No default value provided, comma-separated string) | ||
* SENTRY_DSN: (No default value provided) | ||
|
@@ -199,7 +205,7 @@ Let's work together to make Telegram a safer and more enjoyable experience for e | |
|
||
``` | ||
Teknologi Umum Captcha Bot | ||
Copyright (C) 2023 Teknologi Umum <[email protected]> | ||
Copyright (C) 2024 Teknologi Umum <[email protected]> | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
|
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
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
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
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,5 +1,5 @@ | ||
// Teknologi Umum Captcha Bot | ||
// Copyright (C) 2023 Teknologi Umum <[email protected]> | ||
// Copyright (C) 2024 Teknologi Umum <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
|
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,38 +1,12 @@ | ||
# fly.toml app configuration file generated for teknologi-umum-captcha on 2024-06-23T10:31:45+07:00 | ||
# | ||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file. | ||
# | ||
|
||
app = "captcha-bot" | ||
|
||
kill_signal = "SIGINT" | ||
kill_timeout = 5 | ||
|
||
[env] | ||
|
||
[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]] | ||
handlers = ["http"] | ||
port = 80 | ||
app = 'teknologi-umum-captcha' | ||
primary_region = 'cdg' | ||
|
||
[[services.ports]] | ||
handlers = ["tls", "http"] | ||
port = 443 | ||
[build] | ||
|
||
[[services.tcp_checks]] | ||
grace_period = "1s" | ||
interval = "15s" | ||
restart_limit = 6 | ||
timeout = "2s" | ||
[[vm]] | ||
size = 'shared-cpu-1x' |