Check
This commit is contained in:
@@ -42,11 +42,15 @@ services:
|
||||
context: .
|
||||
container_name: telegram_bot
|
||||
environment:
|
||||
POSTGRES_URL: "postgresql://AH3J9GSPBYOP:uPS9?y~mcu2@postgres:5432/bot_db"
|
||||
TOKEN: "7502946151:AAHspA8iieJqrhUHZveILGfeZWp-VqQhEnQ"
|
||||
POSTGRES_URL: "postgresql+asyncpg://AH3J9GSPBYOP:uPS9?y~mcu2@postgres:5432/bot_db"
|
||||
MONGO_URL: "mongodb://root:itOj4CE2miKR@mongodb:27017"
|
||||
DB_NAME: "MongoDBSub&Ser"
|
||||
SERVER_COLLECTION: "servers"
|
||||
PLAN_COLLECTION: "plans"
|
||||
volumes:
|
||||
- logs_data:/app/logs # Логи сохраняются в контейнере
|
||||
- logs_data:/app/logs
|
||||
depends_on:
|
||||
- postgres
|
||||
- mongodb
|
||||
command: ["python", "main.py"] # Задаем явную команду запуска
|
||||
command: ["python", "main.py"]
|
||||
|
||||
Reference in New Issue
Block a user