name: bot-lastwar
services:
  bot-lastwar:
    cpu_shares: 90
    command:
      - /entrypoint.sh
    container_name: bot_lastwar_funcionando
    deploy:
      resources:
        limits:
          memory: 16663138304
        reservations:
          devices: []
    environment:
      - APP_BASE_URL=https://reod-dragon.ddns.net
      - APP_ENV=production
      - APP_ENVIRONMENT=reod
      - APP_URL=https://reod-dragon.ddns.net
      - DB_DIALECT=mysql
      - DB_HOST=10.10.4.17
      - DB_NAME=bot
      - DB_PASS=MiPo6425@@
      - DB_PORT=3390
      - DB_USER=nickpons666
      - DISCORD_BOT_TOKEN=MTM4NTc5MDM0NDU5NDk4NTA2MQ.GvobiS.TRQM9dX7vDjmuGVa3Ckp6YRtGEWxdW0gBDbvCI
      - DISCORD_CLIENT_ID=1385790344594985061
      - DISCORD_CLIENT_SECRET=hK9SNiYdenHQVxakt8Mx3RoMkZ5oOJvk
      - DISCORD_GUILD_ID=1338327171013541999
      - INTERNAL_API_KEY=b5dda33b8eb062e06e100c98a8947c0248b6e38973dfd689e81f725af238d23c
      - JWT_ALGORITHM=HS256
      - JWT_EXPIRATION=3600
      - JWT_SECRET=19c5020fa8207d2c3b9e82f430784667e001f1eb733848922f7bcb9be98f93c2
      - LIBRETRANSLATE_URL=http://10.10.4.17:5000
      - N8N_IA_WEBHOOK_URL=https://n8n-dragon.ddns.net/webhook/ia
      - N8N_IA_WEBHOOK_URL_DISCORD=https://n8n-dragon.ddns.net/webhook/42e803ae-8aee-4b1c-858a-6c6d3fbb6230
      - N8N_PROCESS_QUEUE_WEBHOOK_URL=https://n8n-dragon.ddns.net/webhook/telegram-unified
      - N8N_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4MWY4YjU3YS0wMTg2LTQ1NTctOWZlMC1jYWUxNjZlYzZlMTkiLCJpc3MiOiJuOG4iLCJhdWQiOiJwdWJsaWMtYXBpIiwiaWF0IjoxNzU1OTMwODM5fQ.2tLbddyhMTKplp9n-qVNiAgQCUj2YEvVASwLnNjgCt0
      - N8N_URL=https://n8n-dragon.ddns.net
      - TELEGRAM_BOT_TOKEN=8469229183:AAEVIV5e7rjDXKNgFTX0dnCW6JWB88X4p2I
      - TELEGRAM_WEBHOOK_TOKEN=webhook_secure_token_12345
      - TEST_ENV_LOAD=caos_cargado
      - TZ=America/Mexico_City
      - USE_LOCALHOST=false
    image: 10.10.4.3:5000/bot-lastwar:latest
    labels:
      icon: https://icon.casaos.io/main/all/bot-lastwar.png
    ports:
      - target: 80
        published: "8086"
        protocol: tcp
    restart: unless-stopped
    user: 0:0
    volumes:
      - type: bind
        source: /media/ZimaOS-HD/AppData/bot_lastwar/logs
        target: /var/www/html/bot/logs
    devices: []
    cap_add: []
    network_mode: bridge
    privileged: false
x-casaos:
  author: self
  category: self
  hostname: ""
  icon: https://icon.casaos.io/main/all/bot-lastwar.png
  index: /
  is_uncontrolled: false
  port_map: "8086"
  scheme: http
  store_app_id: bot-lastwar
  title:
    custom: ""
    en_us: bot-lastwar
