Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 855 Bytes

README.md

File metadata and controls

39 lines (21 loc) · 855 Bytes

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