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: