aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/docker-entrypoint.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-11-12 08:27:17 +0000
committerterminaldweller <thabogre@gmail.com>2021-11-12 08:27:17 +0000
commit0fad033ff38707e07011b7008d506cf4fcdaa7ec (patch)
treedb66c3a19708738c9c6e776c5cc6cf9369a3d5fe /telebot/docker-entrypoint.sh
parentadded a dev and deployment docker-compose (diff)
downloadhived-0fad033ff38707e07011b7008d506cf4fcdaa7ec.tar.gz
hived-0fad033ff38707e07011b7008d506cf4fcdaa7ec.zip
restructured the repo-WIP
Diffstat (limited to 'telebot/docker-entrypoint.sh')
-rwxr-xr-xtelebot/docker-entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/telebot/docker-entrypoint.sh b/telebot/docker-entrypoint.sh
new file mode 100755
index 0000000..932c9c9
--- /dev/null
+++ b/telebot/docker-entrypoint.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+set -ex
+
+export $(cat /run/secrets/tg_bot_token)
+export $(cat /run/secrets/ch_api_key)
+export $(cat /run/secrets/ch_api_secret)
+
+"/hived/hived" "$@"