diff options
| -rw-r--r-- | .gcloudignore | 25 | ||||
| -rw-r--r-- | cmd/bot-kbbi/app.yaml | 9 | ||||
| -rw-r--r-- | cmd/www-kbbi/app.yaml | 8 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.gcloudignore b/.gcloudignore new file mode 100644 index 0000000..199e6d9 --- /dev/null +++ b/.gcloudignore @@ -0,0 +1,25 @@ +# This file specifies files that are *not* uploaded to Google Cloud Platform +# using gcloud. It follows the same syntax as .gitignore, with the addition of +# "#!include" directives (which insert the entries of the given .gitignore-style +# file at that point). +# +# For more information, run: +# $ gcloud topic gcloudignore +# +.gcloudignore +# If you would like to upload your .git directory, .gitignore file or files +# from your .gitignore file, remove the corresponding line +# below: +.git +.gitignore + +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib +# Test binary, build with `go test -c` +*.test +# Output of the go coverage tool, specifically when used with LiteIDE +*.out
\ No newline at end of file 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" |
