From c19b602f75040d062e7a619fa4280ee5647e7284 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sat, 21 Sep 2024 06:23:03 +0500 Subject: [PATCH] This is no longer just for telegram --- .build/compose.yml | 4 ++-- README.md | 13 ++++++++----- compose.yml | 4 ++-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.build/compose.yml b/.build/compose.yml index eca3119..fb41216 100644 --- a/.build/compose.yml +++ b/.build/compose.yml @@ -1,6 +1,6 @@ services: - smtp-to-telegram: + smtp-bridge: build: context: ../ dockerfile: .build/Dockerfile - image: git.shihaam.dev/shihaam/smtp-to-telegram + image: git.shihaam.dev/shihaam/smtp-bridge diff --git a/README.md b/README.md index 8db4f76..bb928ac 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -## SMTP to Telegram +## SMTP Bridge ## Deploy 1. Create `compose.yml` ```yml services: - smtp-to-telegram: - image: git.shihaam.dev/shihaam/smtp-to-telegram + smtp-bridge: + image: git.shihaam.dev/shihaam/smtp-bridge restart: always env_file: .env ports: @@ -13,8 +13,11 @@ services: ``` 2. Fill .env ``` -TELEGRAM_API_KEY= -TELEGRAM_CHAT_ID= +TELEGRAM_API_KEY='' +TELEGRAM_DOMAIN='telegram.local' +NTFY_TOKEN='your_ntfy_token_here' +NTFY_URL='https://ntfy.sh' +NTFY_DOMAIN='ntfy.local' ``` 3. Start the container `docker compose up -d` diff --git a/compose.yml b/compose.yml index e680d5e..af5e38e 100644 --- a/compose.yml +++ b/compose.yml @@ -1,6 +1,6 @@ services: - smtp-to-telegram: - image: git.shihaam.dev/shihaam/smtp-to-telegram + smtp-bridge: + image: git.shihaam.dev/shihaam/smtp-bridge restart: always env_file: .env ports: