{"id":13587817,"url":"https://github.com/lhns/docker-swarm-keepalived","last_synced_at":"2026-01-16T18:29:44.631Z","repository":{"id":43412271,"uuid":"328059732","full_name":"lhns/docker-swarm-keepalived","owner":"lhns","description":"Operator for keepalived on docker swarm","archived":false,"fork":false,"pushed_at":"2026-01-12T21:37:37.000Z","size":39,"stargazers_count":27,"open_issues_count":5,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-13T01:55:00.742Z","etag":null,"topics":["docker","failover","ha","keepalived","metallb","swarm","vrrp"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/lolhens/keepalived-swarm","language":"Shell","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/lhns.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-09T02:42:50.000Z","updated_at":"2026-01-12T21:35:54.000Z","dependencies_parsed_at":"2024-08-01T16:43:49.042Z","dependency_job_id":null,"html_url":"https://github.com/lhns/docker-swarm-keepalived","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/lhns/docker-swarm-keepalived","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lhns%2Fdocker-swarm-keepalived","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lhns%2Fdocker-swarm-keepalived/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lhns%2Fdocker-swarm-keepalived/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lhns%2Fdocker-swarm-keepalived/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lhns","download_url":"https://codeload.github.com/lhns/docker-swarm-keepalived/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lhns%2Fdocker-swarm-keepalived/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","failover","ha","keepalived","metallb","swarm","vrrp"],"created_at":"2024-08-01T15:06:22.574Z","updated_at":"2026-01-16T18:29:44.611Z","avatar_url":"https://github.com/lhns.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# docker-swarm-keepalived\n\n[![Build Workflow](https://github.com/lhns/docker-swarm-keepalived/workflows/build/badge.svg)](https://github.com/lhns/docker-swarm-keepalived/actions?query=workflow%3Abuild)\n[![Docker Stars](https://img.shields.io/docker/stars/lolhens/keepalived-swarm)](https://hub.docker.com/r/lolhens/keepalived-swarm)\n[![Docker Pulls](https://img.shields.io/docker/pulls/lolhens/keepalived-swarm)](https://hub.docker.com/r/lolhens/keepalived-swarm)\n[![Docker Image Size](https://img.shields.io/docker/image-size/lolhens/keepalived-swarm)](https://hub.docker.com/r/lolhens/keepalived-swarm)\n[![Apache License 2.0](https://img.shields.io/github/license/lhns/docker-swarm-keepalived.svg?maxAge=3600)](https://www.apache.org/licenses/LICENSE-2.0)\n\nOperator for [keepalived](https://github.com/acassen/keepalived) on docker swarm.\n\nUses [osixia/docker-keepalived](https://github.com/osixia/docker-keepalived).\n\n## Usage\n\n- Enable the \"ip_vs\" kernel module if not enabled\n```sh\nlsmod | grep -P '^ip_vs\\s' || (echo \"modprobe ip_vs\" \u003e\u003e /etc/modules \u0026\u0026 modprobe ip_vs)\n```\n- Set a different priority for each node\n```sh\ndocker node update node1 --label-add KEEPALIVED_PRIORITY=100\ndocker node update node2 --label-add KEEPALIVED_PRIORITY=101\ndocker node update node3 --label-add KEEPALIVED_PRIORITY=102\n```\n- Deploy the stack\n\n## Docker images\n\nhttps://github.com/lhns/docker-swarm-keepalived/pkgs/container/keepalived-swarm\n\n## Docker Stack\n\n```yml\nversion: '3.8'\n\nservices:\n  keepalived:\n    image: ghcr.io/lhns/keepalived-swarm\n    volumes:\n      - /var/run/docker.sock:/var/run/docker.sock\n    networks:\n      - host\n    deploy:\n      mode: global\n      placement:\n        constraints: [node.role == manager]\n    environment:\n      KEEPALIVED_VIRTUAL_IPS: \"192.168.1.231, 192.168.1.232\"\n\nnetworks:\n  host:\n    external: true\n    name: host\n```\n\n## Helpful Links\n\n- https://github.com/acassen/keepalived\n- https://github.com/osixia/docker-keepalived\n- https://geek-cookbook.funkypenguin.co.nz/ha-docker-swarm/keepalived/\n\n## License\n\nThis project uses the Apache 2.0 License. See the file called LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flhns%2Fdocker-swarm-keepalived","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flhns%2Fdocker-swarm-keepalived","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flhns%2Fdocker-swarm-keepalived/lists"}