Be sure you set the port and address in docker-compose.yaml
Configure app
TG_TOKEN: "" # your TG Bot token
DB_HOST: pg # your TG Bot token
DB_PORT: 5432 # your TG Bot token
DB_NAME: postgres # postgres database name
DB_USER: postgres # postgres user name
DB_PASS: password # postgres password
Configure postgres db
POSTGRES_DB: postgres # postgres database name
POSTGRES_USER: postgres # postgres user name
POSTGRES_PASSWORD: password # postgres password
docker compose build
docker compose up -d
docker compose down