23 lines
322 B
Markdown
23 lines
322 B
Markdown
|
## SMTP to Telegram
|
||
|
|
||
|
## Deploy
|
||
|
1. Create `compose.yml`
|
||
|
```yml
|
||
|
services:
|
||
|
smtp-to-telegram:
|
||
|
image: git.shihaam.dev/shihaam/smtp-to-telegram
|
||
|
restart: always
|
||
|
env_file: .env
|
||
|
ports:
|
||
|
- 2525:2525
|
||
|
```
|
||
|
2. Fill .env
|
||
|
```
|
||
|
TELEGRAM_API_KEY=
|
||
|
TELEGRAM_CHAT_ID=
|
||
|
```
|
||
|
3. Start the container `docker compose up -d`
|
||
|
|
||
|
|
||
|
|