This is no longer just for telegram

This commit is contained in:
Shihaam Abdul Rahman 2024-09-21 06:23:03 +05:00
parent 0f45896d79
commit c19b602f75
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
3 changed files with 12 additions and 9 deletions

View File

@ -1,6 +1,6 @@
services: services:
smtp-to-telegram: smtp-bridge:
build: build:
context: ../ context: ../
dockerfile: .build/Dockerfile dockerfile: .build/Dockerfile
image: git.shihaam.dev/shihaam/smtp-to-telegram image: git.shihaam.dev/shihaam/smtp-bridge

View File

@ -1,11 +1,11 @@
## SMTP to Telegram ## SMTP Bridge
## Deploy ## Deploy
1. Create `compose.yml` 1. Create `compose.yml`
```yml ```yml
services: services:
smtp-to-telegram: smtp-bridge:
image: git.shihaam.dev/shihaam/smtp-to-telegram image: git.shihaam.dev/shihaam/smtp-bridge
restart: always restart: always
env_file: .env env_file: .env
ports: ports:
@ -13,8 +13,11 @@ services:
``` ```
2. Fill .env 2. Fill .env
``` ```
TELEGRAM_API_KEY= TELEGRAM_API_KEY=''
TELEGRAM_CHAT_ID= 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` 3. Start the container `docker compose up -d`

View File

@ -1,6 +1,6 @@
services: services:
smtp-to-telegram: smtp-bridge:
image: git.shihaam.dev/shihaam/smtp-to-telegram image: git.shihaam.dev/shihaam/smtp-bridge
restart: always restart: always
env_file: .env env_file: .env
ports: ports: