Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.27 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.27 KB

nsq Docker Compose

Example configurations for running nsq within Docker Compose.

The examples require additional configuration before they're ready for production use. In particular, pay attention to securing ports, authentication, and storage for services such as nsqd and graphite.

Inventory

  • basic | Basic configuration
    A minimal configuration for running nsqd, nsqlookupd, and nsqadmin.
  • with_graphite | nsq configuration with nsqadmin graphs enabled.
    The basic nsq configuration along with statsd and graphite to support graphs within nsqadmin.
  • multiple_nsqds | nsq configuration with multiple nsqds.
    The with_graphite configuration with 3 nsqds instead of 1.

Requirements

Getting Started

Running the basic configuration:

$ task basic:run

The nsq services will be running in the background within Docker Compose. You can access nsqadmin via http://localhost:4171.

To stop nsq with the basic configuration:

$ task basic:stop

Run nsq with graphs enabled

$ task with_graphite:start

Run mutliple nsqds

$ task multiple_nsqds:start

Stopping:

$ task multiple_nsqds:stop