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.
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.
Thewith_graphite
configuration with 3 nsqds instead of 1.
- Docker Compose
- Taskfile (Optional)
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
$ task with_graphite:start
$ task multiple_nsqds:start
Stopping:
$ task multiple_nsqds:stop