{"id":15196874,"url":"https://github.com/oktadev/okta-spring-microservices-docker-example","last_synced_at":"2025-10-02T12:30:36.982Z","repository":{"id":39907760,"uuid":"168549688","full_name":"oktadev/okta-spring-microservices-docker-example","owner":"oktadev","description":"Spring Microservices and Docker Example","archived":false,"fork":true,"pushed_at":"2022-05-22T05:56:03.000Z","size":98,"stargazers_count":46,"open_issues_count":1,"forks_count":75,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-09-29T00:05:09.326Z","etag":null,"topics":["docker","docker-compose","microservices","spring-boot","spring-cloud","spring-framework"],"latest_commit_sha":null,"homepage":"https://developer.okta.com/blog/2019/02/28/spring-microservices-docker","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"raphaeldovale/okta-microservice-docker","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oktadev.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":"2019-01-31T15:40:29.000Z","updated_at":"2024-04-19T10:37:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/oktadev/okta-spring-microservices-docker-example","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/oktadev%2Fokta-spring-microservices-docker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-microservices-docker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-microservices-docker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-microservices-docker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/okta-spring-microservices-docker-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234983197,"owners_count":18917435,"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","docker-compose","microservices","spring-boot","spring-cloud","spring-framework"],"created_at":"2024-09-28T00:05:18.404Z","updated_at":"2025-10-02T12:30:36.653Z","avatar_url":"https://github.com/oktadev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Microservices and Docker\n\nThis example shows how to create a microservices architecture with Spring Boot and Spring Cloud. It also shows how to package each application in Docker containers and run them with Docker Compose.\n\nPlease read [Build Spring Microservices and Dockerize them for Production](https://developer.okta.com/blog/2019/02/28/spring-microservices-docker) for a tutorial that shows you how to build this application.\n\n**Prerequisites:** [Java 8 or 11](https://adoptopenjdk.net/).\n\n\u003e [Okta](https://developer.okta.com/) has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage and secure users and roles in any application.\n\n* [Getting Started](#getting-started)\n* [Help](#help)\n* [Links](#links)\n* [License](#license)\n\n## Getting Started\n\nTo install this example application, run the following commands:\n\n```bash\ngit clone https://github.com/oktadeveloper/okta-spring-microservices-docker-example.git\ncd okta-spring-microservices-docker-example\n```\n\n### Create an Okta Developer Account\n\nIf you don't have one, [create an Okta Developer account](https://developer.okta.com/signup/). After you've completed the setup process, log in to your account and navigate to **Applications** \u003e **Add Application**. Click **Web** and **Next**. On the next page, enter a name for your app (e.g., \"Spring Docker\"), then click **Done**. \n\nCopy your issuer (found under **API** \u003e **Authorization Servers**), client ID, and client secret into `config-data/school-ui.properties`.\n\nCreate another Web application and name it something like \"Spring Docker Production\". Copy the client ID and secret into `config-data/school-ui-production.properties`. \n\nRun the following command from the root folder to create Docker containers for all your apps.\n\n```shell\n./mvnw clean install\n```\n\nThen you can start your microservices architecture using Docker Compose:\n\n```shell\ndocker-compose up -d\n```\n\n**TIP:** You can use [Kitematic](https://kitematic.com/) to view your container logs and make sure everything starts OK.\n\nAfter everything starts, you should be able to log in with your credentials at `http://localhost:8080`.\n\n## Links\n\nThis example uses the following open source projects:\n\n* [Okta Spring Boot Starter](https://github.com/okta/okta-spring-boot)\n* [Spring Boot](https://spring.io/projects/spring-boot)\n* [Spring Cloud](https://spring.io/projects/spring-cloud)\n* [Spring Security](https://spring.io/projects/spring-security)\n\n## Help\n\nPlease post any questions as comments on this repo's [blog post](https://developer.okta.com/blog/2019/02/28/spring-microservices-docker), or visit our [Okta Developer Forums](https://devforum.okta.com/). \n\n## License\n\nApache 2.0, see [LICENSE](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-spring-microservices-docker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fokta-spring-microservices-docker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-spring-microservices-docker-example/lists"}