{"repo":"webshining/aiogram-mongo-template","free":true,"listed":false,"github":"https://github.com/webshining/aiogram-mongo-template","clone":"git clone https://github.com/webshining/aiogram-mongo-template.git","description":"Aiogram template with mongo database","language":"Python","stars":16,"topics":["aiogram","docker","docker-compose","mongodb","pymongo","redis","telegram","telegram-bot","poetry","telegram-bot-api"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Aiogram Mongo Template Telegram Bot template with aiogram , mongodb and docker Technologies used: - Aiogram - Redis - Beanie - MongoDB - i18n - Docker and docker compose Navigate - Getting started - Init project - Configure environment variables - Bot config - Redis config - Database config - Application start (local) - Docker - Application start (docker) - View app logs - Rebuild app - Manage mongodb Getting started Init project Configure environment variables Copy variables from .env.ren file to .env Bot config TELEGRAM BOT TOKEN - your bot token (required) I18N DOMAIN - locales file name Redis config If you are not using redis, by default used MemoryStorage RD URI - connection url to your redis server Database config MongoDB URL format mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]] Specify one of the following options to configure MongoDB connection: 1. MONGO HOST — MongoDB server address (e.g., localhost) 2. MONGO PORT — MongoDB port (default: 27017) 3. MONGO USER — username for authentication 4. MONGO PASS — password for authentication 5. MONGO NAME — database name Or use a ready-to-use connection string in the MONGO URL variable. Application start (local) Docker Application start (docker) Run only one service: $ docker-compose up -d service-name View app logs Rebuild app","default_branch":null,"files":null,"tree":[],"storefront":"/r/webshining","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/webshining/aiogram-mongo-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}