add documentation

This commit is contained in:
Shihaam Abdul Rahman 2024-09-21 02:52:59 +05:00
parent 0c54b9cc22
commit 18120ada8b
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

22
README.md Normal file
View File

@ -0,0 +1,22 @@
## 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`