🚀 Auto-deploy: BotVPS atualizado em 26/03/2026 10:33:29

This commit is contained in:
2026-03-26 10:33:29 +00:00
parent 5ac6485c17
commit bdbc26b6a7
2 changed files with 3 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ load_dotenv()
# Configurações obtidas do .env
TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
ALLOWED_USER_ID = os.getenv("TELEGRAM_CHAT_ID")
API_BASE_URL = "http://localhost:8000"
API_BASE_URL = "http://localhost:8001"
# O ID permitido deve ser comparado como string ou int, padronizando aqui
if ALLOWED_USER_ID:

View File

@@ -7,6 +7,8 @@ services:
restart: unless-stopped
expose:
- "8000"
ports:
- "8001:8000"
# Monta as credenciais e o socket do docker para o Bot conseguir comandar a VPS raiz!
volumes:
- .:/app