Coder Social home page Coder Social logo

zkvarz / springcloudvideocourse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simplyi/springcloudvideocourse

0.0 0.0 0.0 28.56 MB

Demo application utilizing Spring Cloud capabilities. There is a way to start up application locally with docker-compose using single line command.

Java 100.00%
spring-boot spring-cloud spring-cloud-config spring-cloud-netflix spring-cloud-gateway spring-boot-2 spring spring-cloud-eureka spring-security spring-cloud-zuul

springcloudvideocourse's Introduction

README

ANSI terminal coloring wasn't working for in Intellj Idea. To enable it environment variable can be used: spring.output.ansi.enabled=always

JCE comes bundled with JDK11 so we don't need to install it separately: https://www.oracle.com/java/technologies/javase/jdk11-readme.html

To run rabbitmq I use docker image instead of installing it manually. Pulling an image:

docker pull rabbitmq:management

Then running:

docker run –d --hostname my-rabbit --name some-rabbit –p 15672:15672 –p 5672:5672 rabbitmq:management

Other useful docker commands.

Show all running containers:

docker ps

And then stop container:

docker stop YOUR_CONTAINER_ID

Or stop all running containers:

docker stop $(docker ps -aq)

Before trying running anything in Docker use for each project:

mvn clean install

Check compose file for syntax-errors:

docker-compose config

Build our images, create the defined containers, and start in detached mode via one command: docker-compose up --build -d

To stop the containers, remove them from Docker and remove the connected networks from it:

docker-compose down

springcloudvideocourse's People

Contributors

simplyi avatar zkvarz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.