Skip to content

abhirockzz/nats-hello-world-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start by...

  • git clone https://github.com/abhirockzz/nats-hello-world-docker.git
  • cd nats-hello-world-docker/java-publisher
  • mvn clean install
  • cd ..

To run

docker-compose build --no-cache //build containers

Give it a few seconds

docker-compose up //start containers

check

check NATS console

http://<docker_host_ip>:8222

http://<docker_host_ip>:8222/connz

check docker-compose logs

Pub and sub... the usual stuff

.. clean up using

docker-compose down