https://github.com/exposedcat/lifebox-tg
Telegram bot that cares about your mood and social state
https://github.com/exposedcat/lifebox-tg
Last synced: 8 days ago
JSON representation
Telegram bot that cares about your mood and social state
- Host: GitHub
- URL: https://github.com/exposedcat/lifebox-tg
- Owner: ExposedCat
- Created: 2022-09-07T12:25:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2026-03-26T00:26:32.000Z (3 months ago)
- Last Synced: 2026-03-26T22:38:11.504Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 2.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LifeBox Telegram Bot
## Run with Podman Compose
1. Copy `.env.example` to `.env` and fill in real values (especially `TOKEN`).
2. Start the bot and MongoDB:
```bash
podman compose up --build -d
```
3. Check logs:
```bash
podman compose logs -f lifebox_bot
```
4. Stop services:
```bash
podman compose down
```
The API is exposed on `http://localhost:8081`.
This is mapped as `127.0.0.1:8081:8081` in `compose.yaml`, which keeps it reachable only from your local machine.
If you do not need host access to the API endpoint, you can remove the `ports` section from `lifebox_bot`.
`compose.yaml` overrides `DB_CONNECTION_STRING` for the bot service to use the internal MongoDB host (`lifebox_db`), so your regular local `.env` value can stay unchanged.