{"id":19092921,"url":"https://github.com/eon01/d-ealer","last_synced_at":"2025-04-30T12:43:10.696Z","repository":{"id":74328453,"uuid":"81323254","full_name":"eon01/d-ealer","owner":"eon01","description":"A Docker Healer - Auto Restarting Unhealthy Containers","archived":false,"fork":false,"pushed_at":"2017-02-13T01:58:01.000Z","size":2209,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T01:32:50.877Z","etag":null,"topics":["cloud","containers","docker","docker-swarm","production","self-healing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eon01.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":"2017-02-08T11:32:45.000Z","updated_at":"2023-10-01T15:47:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e16c2445-fa67-4ea2-ae76-9667229abaa0","html_url":"https://github.com/eon01/d-ealer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eon01%2Fd-ealer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eon01%2Fd-ealer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eon01%2Fd-ealer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eon01%2Fd-ealer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eon01","download_url":"https://codeload.github.com/eon01/d-ealer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251702626,"owners_count":21630054,"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":["cloud","containers","docker","docker-swarm","production","self-healing"],"created_at":"2024-11-09T03:22:46.243Z","updated_at":"2025-04-30T12:43:10.668Z","avatar_url":"https://github.com/eon01.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# d-ealer\nA Docker Healer - Auto Restarting Unhealthy Containers\n\n# How To\n\nd-ealer will check the health of all of your containers, if one of them is unhealty, it will restart it.\n\nd-ealer will only restart containers having the label ``` com.dealer.activate ``` set to ``` 1 ```.\n\nThis is an example:\n\n```\ndocker run -l com.dealer.activate=1 -d -P helloworld:healthcheck\n```\n\n\n# Configuration\n\nPlease adapt the configuration to your need (**d-ealer.conf**):\n\n```\n[logging]\nlogger_level = logging.INFO\nhandler_level = logging.INFO\nlog_format = %(asctime)s - %(name)s - %(levelname)s - %(message)s\nlog_file = d-ealer.log\n```\n\n# Logging\n\nYou can find logs in ``` d-ealer.log ``` file.\nYou can mount your log file to your host, if you are using Docker.\n\n# Running d-ealer Using Docker\n\n```\ndocker run -it --name d-ealer -v /var/run/docker.sock:/var/run/docker.sock  -d eon01/d-ealer\n```\n\n# Common Problems:\n\n## 'module' object has on attribute 'connection' \n\nThis is an issue in docker-py, for me it was solved by:\n\n```\npip install urllib3==1.14\nexport PYTHONPATH=/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages\n```\n\nOn docker-py github issues, other people solved this by:\n\n```\napt-get install python-openssl\n```\n\nor\n\n```\nsudo pip install --upgrade pip\n```\n\n\n# ToDo\n- Allow users to choose the timeout and retries number ..etc\n\n# Links\n\n- Docker Hub: https://hub.docker.com/r/eon01/d-ealer/\n- GitHub : https://github.com/eon01/d-ealer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feon01%2Fd-ealer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feon01%2Fd-ealer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feon01%2Fd-ealer/lists"}