{"id":15662196,"url":"https://github.com/mechero/spring-boot-hola-docker","last_synced_at":"2025-05-05T23:11:26.382Z","repository":{"id":90103158,"uuid":"113693530","full_name":"mechero/spring-boot-hola-docker","owner":"mechero","description":"Example of Dockerized Spring Boot application","archived":false,"fork":false,"pushed_at":"2018-07-08T17:14:12.000Z","size":5,"stargazers_count":20,"open_issues_count":0,"forks_count":17,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T00:31:41.814Z","etag":null,"topics":["docker","spring-boot"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mechero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-09T18:58:03.000Z","updated_at":"2025-01-29T14:44:31.000Z","dependencies_parsed_at":"2023-03-04T04:45:40.851Z","dependency_job_id":null,"html_url":"https://github.com/mechero/spring-boot-hola-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fspring-boot-hola-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fspring-boot-hola-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fspring-boot-hola-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fspring-boot-hola-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mechero","download_url":"https://codeload.github.com/mechero/spring-boot-hola-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252590620,"owners_count":21772939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","spring-boot"],"created_at":"2024-10-03T13:30:39.056Z","updated_at":"2025-05-05T23:11:26.363Z","avatar_url":"https://github.com/mechero.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hola Docker with Spring Boot\n\n**Updated**: Now the code uses Spring Boot 2 and Java 10.\n\nThis project shows you how to dockerize a Spring Boot application using a single `Dockerfile` or combining it with `docker-compose`.\n\nThe guide to build the code and understand the different alternatives is located at [https://thepracticaldeveloper.com/2017/12/11/dockerize-spring-boot/](https://thepracticaldeveloper.com/2017/12/11/dockerize-spring-boot/).\n\n## Running the app with Docker\n\nMake sure you generate first the `.jar` file by running:\n\n`mvn clean package`\n\nThen, you just need to execute:\n\n`docker-compose up`\n\nNote that there are two Dockerfiles in this repository. The `Dockerfile-build` not only runs the app in the container but also builds it using Maven. Check out [the post](https://thepracticaldeveloper.com/2017/12/11/dockerize-spring-boot/) for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmechero%2Fspring-boot-hola-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmechero%2Fspring-boot-hola-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmechero%2Fspring-boot-hola-docker/lists"}