All Projects → david-romero → spring-boot-mongo-docker

david-romero / spring-boot-mongo-docker

Licence: other
Spring Boot, Mongo and Docker. Run all with a single command.

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to spring-boot-mongo-docker

Spring Cloud Flycloud
🔥🔥🔥FlyClould 微服务实战项目框架,在该框架中,包括了用 Spring Cloud 构建微服务的一系列基本组件和框架,对于后台服务框架的搭建有很大的参考价值,大家可以参考甚至稍加修改可以直接应用于自己的实际的项目开发中,该项目没有采用Maven进行项目构建,Maven通过xml进行依赖管理,导致整个配置文件太过臃肿,另外灵活性也不是很强,所以我采用Gradle进行项目构建和依赖管理,在FlyTour项目中我们见证了Gradle的强大,通过简单的一些配置就可以轻松的实现组件化的功能。该项目共有11个Module工程。其中10个位微服务工程,这10个微服务工程构成了一个完整的微服务系统,微服务系统包含了8个基础服务,提供了一整套微服务治理功能,他们分别是配置中心module_c…
Stars: ✭ 1,514 (+9362.5%)
Mutual labels:  springboot, springframework, spring-data-jpa
BusinessInfrastructurePlatformGroupVersion
A java web project based on Spring Boot using MySQL, Spring MVC, Hibernate, Spring Data JPA, Query DSL, Lombok, Logback, etc.
Stars: ✭ 90 (+462.5%)
Mutual labels:  springboot, springframework, spring-data-jpa
Spring5Certification
Spring Certification: This repository contains my examples and some best references to prepare the Spring 5 certification
Stars: ✭ 30 (+87.5%)
Mutual labels:  springboot, springframework, spring-data-jpa
Ssm Demo
🍌Spring+SpringMVC+Mybatis+easyUI实现简单的后台管理系统
Stars: ✭ 1,639 (+10143.75%)
Mutual labels:  springboot, springframework
Spring Examples
SpringBoot Examples
Stars: ✭ 67 (+318.75%)
Mutual labels:  springboot, spring-data-jpa
Spring Boot Blog
Simple blog web app made using Spring Boot + Thymeleaf
Stars: ✭ 121 (+656.25%)
Mutual labels:  springboot, spring-data-jpa
Spring Boot Examples
about learning Spring Boot via examples. Spring Boot 教程、技术栈示例代码,快速简单上手教程。
Stars: ✭ 26,812 (+167475%)
Mutual labels:  springboot, spring-data-jpa
Springboot Practice
SpringBoot practice
Stars: ✭ 234 (+1362.5%)
Mutual labels:  springboot, springframework
Spring Data Jpa Reference Documentation
Spring Data JPA 参考指南 中文版
Stars: ✭ 154 (+862.5%)
Mutual labels:  springboot, spring-data-jpa
weedow-searchy
Automatically exposes web services over HTTP to search for Entity-related data using a powerful query language
Stars: ✭ 21 (+31.25%)
Mutual labels:  springboot, spring-data-jpa
docker-api-graphql
GraphQL API wrapper around the Docker Remote API. SpringBoot-based app, written in Kotlin
Stars: ✭ 13 (-18.75%)
Mutual labels:  springboot, springframework
Springbootrestapihibernatejpamysqltutorial
Stars: ✭ 32 (+100%)
Mutual labels:  springboot, spring-data-jpa
Mini Spring
mini-spring是简化版的spring框架,能帮助你快速熟悉spring源码和掌握spring的核心原理。抽取了spring的核心逻辑,代码极度简化,保留spring的核心功能,如IoC和AOP、资源加载器、事件监听器、类型转换、容器扩展点、bean生命周期和作用域、应用上下文等核心功能。
Stars: ✭ 698 (+4262.5%)
Mutual labels:  springboot, springframework
Springboot
Spring Boot chinese document. Spring Boot 2.1.5 中文文档
Stars: ✭ 703 (+4293.75%)
Mutual labels:  springboot, springframework
Spring
Personal notes of preparation to Spring 5 Professional Certification
Stars: ✭ 35 (+118.75%)
Mutual labels:  springframework, spring-data-jpa
kotlin-postgres
A Simple CRUD API using Spring Boot Application using PostgreSQL Database
Stars: ✭ 20 (+25%)
Mutual labels:  springframework, spring-data-jpa
Shopizer
Shopizer java e-commerce software
Stars: ✭ 2,541 (+15781.25%)
Mutual labels:  springboot, springframework
Nacos Spring Boot Project
Nacos ECO Project for Spring Boot
Stars: ✭ 508 (+3075%)
Mutual labels:  springboot, springframework
Elementvuespringbootcodetemplate
使用Vue+VueX+ElementUI+SpringBoot的代码框架
Stars: ✭ 597 (+3631.25%)
Mutual labels:  springboot, spring-data-jpa
Spring-Boot-2
Spring Boot 2.x examples
Stars: ✭ 33 (+106.25%)
Mutual labels:  springboot, spring-data-jpa

This guide walks you through the process of building a Docker image for running a Spring Boot application with mongo database.

What you’ll build

Docker is a Linux container management toolkit with a "social" aspect, allowing users to publish container images and consume those published by others. A Docker image is a recipe for running a containerized process, and in this guide we will build one for a simple Spring boot application.

Set up a Spring Boot app

If you want to run with Maven, execute:

./mvn package && java -jar target/spring-boot-mongo-docker-1.0.0.jar

and go to http://localhost:8080/customer/ to see your persisted customers.

Containerize It

If you want to run with Docker, execute:

./docker-compose up

Summary

Congratulations! You’ve just created a Docker container for a Spring Boot app! Spring Boot apps run on port 8080 inside the container by default and we mapped that to the same port on the host using "-p" on the command line.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].