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:
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

View File

@ -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`

View File

@ -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: