open-wa / wa-automate-docker

💬 🤖 The easiest way to turn your WhatsApp into an API. Be sure to 🌟 this repository for updates!
106 stars 31 forks source link

docker-compsose.yml some cli flags are working, others are not. #51

Open ahmeaqas opened 2 years ago

ahmeaqas commented 2 years ago

Hello Shah Mohammad,

I am trying to setup webhook but it is not working. May you please have a look on the compose file. This is the block of my docker-compose.yml file.

version: '3'
services:
  nginx:
    container_name: nginx
    restart: unless-stopped
    image: nginx
    volumes:
      - html:/usr/share/nginx/html
      - conf.d:/etc/nginx/conf.d
    ports:
      - '5480:80'
      - '5443:443'
  nodered:
    container_name: nodered
    restart: unless-stopped
    image: nodered/node-red
    environment:
      - PK=Asia/Karachi
      - LD_LIBRARY_PATH=/opt/vc/lib
    volumes:
      - nodered:/data
    ports:
      - '5880:1880'
  wa:
    container_name: wa
    restart: unless-stopped
    image: openwa/wa-automate
    environment:
      - multi-device
      - ras-pi
      - use-chrome
      - popup
      - d
      - qrTimeout=0
      - no-kill-on-logout=true
      - debug
      - verbose
      - keep-alive=true
      - skip-url-check
      - 'webhook=http://nodered:5880/admin/webhook'
      - 'ev=http://nodered:5880/admin/launch'
    volumes:
      - "sessions:/sessions"
    depends_on:
      - nodered
    ports:
      - '5080:8080'
      - '5081:3000'
volumes:
  html:
  conf.d:
  nodered:
  sessions: