GithubHelp home page GithubHelp logo

java-spring-boot-dockerized's Introduction

Content Video 1

Dockerize a Java Spring Boot Starter Template

https://www.youtube.com/watch?v=EwwkEDz3VeE (published on 19th of November 2020)

Content Video 2

  • Add a docker-compose file and run also a postgres db and postgres adminer
  • Connect with Spring Boot to the db
  • Post Data && Get Data over http (to Spring Boot) and then save it in the db

You need

Start Commands for docker-compose file

Builds, (re)creates, starts, and attaches to containers for a service.
docker-compose up

Start Commands for Docker

Please follow the 1st Video, because due to docker-compose there are some changes

Build your image:
docker build <your path> -t <<user>/project-name>

Run:
docker run -p 8080:3000 <<user>/project-name>

For Example:
docker build <your path> -t thomas-oliver/sb-dockerized
docker run -p 8080:3000 thomas-oliver/sb-dockerized

Basic Docker Commands:
List your docker images: docker images
List your running containers: docker ps
List also stopped containers: docker ps -a Kill a running container: docker kill <id of container from docker ps (first 3 letters)>, eg docker kill fea

java-spring-boot-dockerized's People

Contributors

thomasoliver545 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.