{"id":19233102,"url":"https://github.com/reflexdemon/docker-example","last_synced_at":"2026-06-18T19:32:05.141Z","repository":{"id":47239288,"uuid":"389086961","full_name":"reflexdemon/docker-example","owner":"reflexdemon","description":"Spring Boot and Docker Example","archived":false,"fork":false,"pushed_at":"2021-09-07T11:37:05.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-23T11:41:52.308Z","etag":null,"topics":[],"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/reflexdemon.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}},"created_at":"2021-07-24T11:57:13.000Z","updated_at":"2021-09-07T11:37:08.000Z","dependencies_parsed_at":"2022-09-22T08:30:58.259Z","dependency_job_id":null,"html_url":"https://github.com/reflexdemon/docker-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reflexdemon/docker-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fdocker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fdocker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fdocker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fdocker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reflexdemon","download_url":"https://codeload.github.com/reflexdemon/docker-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fdocker-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34505419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T16:08:53.138Z","updated_at":"2026-06-18T19:32:05.123Z","avatar_url":"https://github.com/reflexdemon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Example\nThis is a simple Spring Boot Application helping us run a Spring Boot Project inside `docker`.\n\n## Assumption \nThis assumes that you have a fair idea of what docker is and how containerization work. This\nalso expects you have `docker` cli installed, and it is fully functional. Having a JDK to create the `jar` file.\n\n\n## Compile and Generate Artifacts\nTo compile and generate artifacts to run.\n\n```shell\n./gradlew clean assemble\n```\nThis command should generate the deployable runtime file inside `build/libs` folder.\n\n## Build and Run the Docker Image\n\nTo build and run the image\n```shell\ndocker-compose up -d\n```\nTo recreate the images after making changes to code and building new artifacts\n```shell\ndocker-compose up -d --build\n```\nThis will create new image if the `jar` file needs to be updated.\n\n## To shut down the docker image\nUse the below command to bring down the running docker image.\n```shell\ndocker-compose down\n```\n\n## TODO\n 1. Need to add about this on my [blog](https://blog.vpv.io).\n 2. Need to enable Debugging using IDE\n 3. Add a DB Service to run inside the container\n 4. Publish the image to docker hub and deploy to any cloud.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freflexdemon%2Fdocker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freflexdemon%2Fdocker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freflexdemon%2Fdocker-example/lists"}