add documentation
This commit is contained in:
parent
0c54b9cc22
commit
18120ada8b
22
README.md
Normal file
22
README.md
Normal 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`
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user