From 5c3a383ca7145cb8a0757666d425ad107a9a590c Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Wed, 10 Apr 2019 21:15:48 +0300 Subject: [PATCH] Adding magnetico-web-telegram configuration draft. --- magnetico-web-telegram/.env.dist | 8 ++++++++ magnetico-web-telegram/.gitignore | 1 + magnetico-web-telegram/docker-compose.yml | 8 ++++++++ 3 files changed, 17 insertions(+) create mode 100644 magnetico-web-telegram/.env.dist create mode 100644 magnetico-web-telegram/.gitignore create mode 100644 magnetico-web-telegram/docker-compose.yml diff --git a/magnetico-web-telegram/.env.dist b/magnetico-web-telegram/.env.dist new file mode 100644 index 0000000..d38fb08 --- /dev/null +++ b/magnetico-web-telegram/.env.dist @@ -0,0 +1,8 @@ +# Proxy configuration variables +# see https://hub.docker.com/r/skobkin/magnetico-web-telegram-bot +# Magnetico-Web API token +API_TOKEN= +# Telegram Bot API token +TELEGRAM_TOKEN=xxx:yyy +# Sentry DSN +SENTRY_DSN=https://secret@sentry.io/123456789 \ No newline at end of file diff --git a/magnetico-web-telegram/.gitignore b/magnetico-web-telegram/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/magnetico-web-telegram/.gitignore @@ -0,0 +1 @@ +.env diff --git a/magnetico-web-telegram/docker-compose.yml b/magnetico-web-telegram/docker-compose.yml new file mode 100644 index 0000000..5c1b972 --- /dev/null +++ b/magnetico-web-telegram/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3.7' + +services: + bot: + image: skobkin/magnetico-web-telegram-bot:latest + container_name: magnetico-telegram + env_file: .env + restart: unless-stopped