fix: PostgreSQL compatibility and Telegram bot token validation
- Fixed PostgreSQL 18+ compatibility by using postgres:17 image - Added token validation for Telegram bot - Improved error handling in telegram_bot.py - Added scripts for bot token management - Cleaned up old QR codes and added new utility files
This commit is contained in:
@@ -2,8 +2,8 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
|
||||
db:
|
||||
image: postgres:latest
|
||||
postgres_db:
|
||||
image: postgres:17
|
||||
container_name: postgres_db
|
||||
env_file: .env
|
||||
volumes:
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
container_name: pgadmin
|
||||
env_file: .env
|
||||
depends_on:
|
||||
- db
|
||||
- postgres_db
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
@@ -59,7 +59,7 @@ services:
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
- db
|
||||
- postgres_db
|
||||
networks:
|
||||
- web_db_network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user