aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-05-29 00:35:50 +0700
committerShulhan <m.shulhan@gmail.com>2020-05-29 00:35:50 +0700
commit6b03e4fd9670f865216a773545ea4a0bbf534582 (patch)
tree0a6f2fe174d7c81306fcb92759d4920e2914caf8 /cmd
parentde982da9e2035c901b22493e52995d33ceed8501 (diff)
downloadkamusku-6b03e4fd9670f865216a773545ea4a0bbf534582.tar.xz
cmd: add deployment script for App Engine
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bot-kbbi/app.yaml9
-rw-r--r--cmd/www-kbbi/app.yaml8
2 files changed, 17 insertions, 0 deletions
diff --git a/cmd/bot-kbbi/app.yaml b/cmd/bot-kbbi/app.yaml
new file mode 100644
index 0000000..89bf31a
--- /dev/null
+++ b/cmd/bot-kbbi/app.yaml
@@ -0,0 +1,9 @@
+service: bot-kbbi
+runtime: go113
+instance_class: F2
+automatic_scaling:
+ max_instances: 1
+env_variables:
+ DEBUG: "2"
+ TELEGRAM_TOKEN: "1121465148:AAH9vI-DkHUOPGTmy1Js0dxKSHLYIIkXaIE"
+ TELEGRAM_WEBHOOK_URL: "https://bot-kbbi-dot-kamuskubot.df.r.appspot.com"
diff --git a/cmd/www-kbbi/app.yaml b/cmd/www-kbbi/app.yaml
new file mode 100644
index 0000000..580f7ea
--- /dev/null
+++ b/cmd/www-kbbi/app.yaml
@@ -0,0 +1,8 @@
+service: default
+runtime: go113
+instance_class: F2
+automatic_scaling:
+ max_instances: 1
+env_variables:
+ KBBI_SUREL: "m.shulhan@gmail.com"
+ KBBI_SANDI: "tyuiopKEMDIKBUD5810"