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:
2025-11-23 21:23:51 +09:00
parent 7ce0c6c62a
commit 37d7fc74b8
89 changed files with 251 additions and 19 deletions

View File

@@ -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