diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..43d8a66 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,22 @@ +version: '2' + +networks: + whatsapp: + driver: bridge + +services: + go-whatsapp-multidevice-rest: + build: + context: . + dockerfile: ./Dockerfile + image: 'dimaskiddo/go-whatsapp-multidevice-rest:latest' + container_name: 'go-whatsapp-multidevice-rest' + networks: + - whatsapp + ports: + - 3000:3000 + env_file: + - ./.env + volumes: + - ./dbs:/usr/app/go-whatsapp-multidevice-rest/dbs + restart: unless-stopped diff --git a/internal/routines.go b/internal/routines.go index 1ed7d93..eed6586 100644 --- a/internal/routines.go +++ b/internal/routines.go @@ -21,7 +21,7 @@ func Routines(cron *cron.Cron) { // Mask JID for Logging Information maskJID := realJID[0:len(realJID)-4] + "xxxx" - // Print Log Show Information of Device Chenking + // Print Log Show Information of Device Checking log.Print(nil).Info("Checking WhatsApp Client for " + maskJID) // Check WhatsAppClient Registered JID with Authenticated MSISDN