{"id":17822103,"url":"https://github.com/fo0/springcloudconsulexample","last_synced_at":"2025-04-02T10:25:32.931Z","repository":{"id":42555573,"uuid":"260728888","full_name":"fo0/SpringCloudConsulExample","owner":"fo0","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-31T19:07:28.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T01:33:29.999Z","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/fo0.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":"2020-05-02T16:31:59.000Z","updated_at":"2020-05-03T15:10:06.000Z","dependencies_parsed_at":"2022-09-21T18:02:34.583Z","dependency_job_id":null,"html_url":"https://github.com/fo0/SpringCloudConsulExample","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/fo0%2FSpringCloudConsulExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fo0%2FSpringCloudConsulExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fo0%2FSpringCloudConsulExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fo0%2FSpringCloudConsulExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fo0","download_url":"https://codeload.github.com/fo0/SpringCloudConsulExample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246795709,"owners_count":20835257,"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":[],"created_at":"2024-10-27T17:35:50.496Z","updated_at":"2025-04-02T10:25:32.894Z","avatar_url":"https://github.com/fo0.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpringCloudConsulExample\n\n### install consul \"server\" =\u003e main server\n```bash\ndocker run -d -p 8500:8500 -p 8600:8600/udp --name=badger consul agent -server -ui -node=server-1 -bootstrap-expect=1 -client=0.0.0.0\n```\n\n### install consul \"agent\" =\u003e listeners for managing the applications, this is the entry point for the services\nLet the docker log \"open\", do not close it, because you can see the logs when your services register itself\n```bash\ndocker run --name=fox consul agent -node=client-1 -join=172.17.0.2\n```\n\n### check installed consul applications at the main \"server\"\n```bash\ndocker exec badger consul members\n```\n\n### Check Consul UI\n```http://localhost:8500/```\n\n\nReferences\n- https://learn.hashicorp.com/consul/day-0/containers-guide\n- https://spring.io/projects/spring-cloud-consul\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffo0%2Fspringcloudconsulexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffo0%2Fspringcloudconsulexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffo0%2Fspringcloudconsulexample/lists"}