Version 1.0.0
Language EN

Nats Example

Example Yaml configuration for a project with a Nats server dependency. In the below example, the Nats server will be available at nats:4222.

kind: pipeline
name: default

steps:
- name: test
  image: ruby:2
  commands:
  - gem install nats
  - nats-pub -s tcp://nats:4222 greeting 'hello'
  - nats-pub -s tcp://nats:4222 greeting 'world'

services:
- name: nats
  image: nats:1.3.0
  ports:
  - 4222
  - 8222

Getting Help

Mailing List
Search for information in the mailing list archives, or post a question.
Chat Support
Real-time chat support from maintainers and community members.