{"id":16592458,"url":"https://github.com/hauleth/consulate","last_synced_at":"2025-06-15T07:37:43.012Z","repository":{"id":140294588,"uuid":"275104313","full_name":"hauleth/consulate","owner":"hauleth","description":"Erlang port mapper module that uses Consul instead of EPMD","archived":false,"fork":false,"pushed_at":"2020-06-26T10:36:19.000Z","size":11,"stargazers_count":15,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T07:11:33.236Z","etag":null,"topics":["consul","distribution","erlang"],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hauleth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-06-26T08:02:38.000Z","updated_at":"2024-11-08T10:36:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"08befe16-1d32-4d6a-b29e-b67b8c0033b7","html_url":"https://github.com/hauleth/consulate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hauleth/consulate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fconsulate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fconsulate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fconsulate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fconsulate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hauleth","download_url":"https://codeload.github.com/hauleth/consulate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fconsulate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259940911,"owners_count":22935289,"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":["consul","distribution","erlang"],"created_at":"2024-10-11T23:20:58.263Z","updated_at":"2025-06-15T07:37:42.994Z","avatar_url":"https://github.com/hauleth.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"Consulate\n=====\n\nThe implementation of `erl_epmd`-compatible module that uses Consul for node\ndiscover instead of EPMD.\n\n## Usage\n\nAdd project to your dependencies\n\nErlang:\n\n```erlang\n{deps, [consulate]}.\n```\n\nElixir:\n\n```elixir\ndefp deps do\n  [\n    {:consulate, \"~\u003e 0.0\"}\n  ]\nend\n```\n\nAnd then run your application with\n\n```\n-epmd_module consulate -start_epmd false\n```\n\n## Configuration\n\nYou can change default `erlang-node` service name via `-consul_service` flag to\n`erl`. Beware that all nodes that want to be connected need to use the same\nservice name.\n\nConsul connection options are set via application environment. Supported options\nare:\n\n- `host` (defaults to `127.0.0.1`) - host to Consul agent\n- `port` (defaults to `8500`) - port on which agent is listening\n- `scheme` (defaults to `http`) - connection scheme, can be `\"http\"`\n   or `\"https\"`\n- `check` - map containing 2 fields:\n  + `interval` (defaults to `10`) - time in seconds between each health check\n  + `deregister` (defaults to `60`) - time in seconds after which the service\n    will be deregistered from catalog after it fails test\n- `meta` - map of `atom() =\u003e atom() | binary()` pairs that will be submitted as\n  service metadata\n\n## License\n\nSee [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhauleth%2Fconsulate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhauleth%2Fconsulate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhauleth%2Fconsulate/lists"}