diff options
| author | Shulhan <ms@kilabit.info> | 2024-04-18 00:40:59 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-04-18 00:40:59 +0700 |
| commit | 51d14a2686c8ec0dbd876312dd76eec54df0d617 (patch) | |
| tree | 80b186f4ae0f002a72391cbdb6f5e7d47b59ca76 /cmd/kamusku-telegram-bot/app.yaml | |
| parent | bea7551fd914534c4f3a49fbb980cc23b559f155 (diff) | |
| download | kamusku-51d14a2686c8ec0dbd876312dd76eec54df0d617.tar.xz | |
all: move the deployment to VPS
Using AppEngine is not flexible and hard to debug.
For example, if we changes the dependecies on module "pakakeh.go"
there is no way to deploy it manually without pusing new commit to
"pakakeh.go" and update the go.mod manually.
Diffstat (limited to 'cmd/kamusku-telegram-bot/app.yaml')
| -rw-r--r-- | cmd/kamusku-telegram-bot/app.yaml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd/kamusku-telegram-bot/app.yaml b/cmd/kamusku-telegram-bot/app.yaml index c43b2c6..8ce7756 100644 --- a/cmd/kamusku-telegram-bot/app.yaml +++ b/cmd/kamusku-telegram-bot/app.yaml @@ -2,11 +2,10 @@ # SPDX-License-Identifier: CC0-1.0 service: telegram-bot -runtime: go115 +runtime: go121 instance_class: F2 automatic_scaling: max_instances: 1 env_variables: - DEBUG: "2" - TELEGRAM_TOKEN: "1121465148:AAH9vI-DkHUOPGTmy1Js0dxKSHLYIIkXaIE" - TELEGRAM_WEBHOOK_URL: "https://kamusku-telegram-bot.df.r.appspot.com" + TELEGRAM_TOKEN: "1121465148:AAE6Yf0YevYcyC--eCZyMqSpVia-pK5iFM4" + TELEGRAM_WEBHOOK_URL: "https://kamusku.kilabit.info/telegram/webhook" |
