Skip to content

it-prisma/consbot

Repository files navigation

Telegram Bot for Anonymous Consultations

Description

Python Docker Postgres Redis GitHub GitHub Actions Grafana Prometheus

Installation

For running and building app you need to get source code of this repo:

git clone https://github.com/it-prisma/tg_bot_for_consultations

Settings

For configuring project you need to create file with envrionment variables from .env.dev.

If you want to use database other database (not from docker-compose.yaml) remember to set POSTGRES_HOST and POSTGRES_PORT.

cp .env.dev .env
POSTGRES_USER     # user for connection to DB
POSTGRES_PASSWORD # password for connection to DB
POSTGRES_HOST     # domen or IP-address to DB
POSTGRES_DB       # database name for project
POSTGRES_PORT     # port DB

REDIS_HOST        # domen or IP-address to cache
REDIS_PORT        # port to cache
REDIS_PASSWORD    # password to cache

Running

Docker

Database Migrations

Using