nsqio / nsq

A realtime distributed messaging platform
https://nsq.io
MIT License
24.89k stars 2.9k forks source link

Docker deployment #1453

Closed zooyoyo closed 1 year ago

zooyoyo commented 1 year ago

Docker deployment succeeded. When I connected to the public IP for look consumption, I received an error message saying 'error connecting to nsqd - dial TCP: lookup nsqd node1: i/o timeout'

mreiferson commented 1 year ago

You'll have to provide more details around your configuration and what commands you're running for us to be able to help.

zooyoyo commented 1 year ago

Sorry, I only saw it now Configuration information: version: '3' services: nsqlookupd: restart: always container_name: nsqlookupd image: nsqio/nsq:latest command: /nsqlookupd --broadcast-address=nsqlookupd networks:

networks: nsq-network: driver: bridge

zooyoyo commented 1 year ago

I attempted to configure node address resolution in my host file and it succeeded