{"id":20821486,"url":"https://github.com/artefactual-labs/docker-gearmand","last_synced_at":"2025-05-07T16:23:48.848Z","repository":{"id":145848843,"uuid":"86620944","full_name":"artefactual-labs/docker-gearmand","owner":"artefactual-labs","description":"Docker image of gearmand based on Alpine Linux.","archived":false,"fork":false,"pushed_at":"2024-04-30T03:35:46.000Z","size":27,"stargazers_count":19,"open_issues_count":1,"forks_count":13,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-31T11:51:11.031Z","etag":null,"topics":["backend","containers","docker","docker-image","gearman","gearmand","jobs","queue"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/artefactual/gearmand/","language":"Dockerfile","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/artefactual-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-03-29T19:23:43.000Z","updated_at":"2024-10-21T09:04:46.000Z","dependencies_parsed_at":"2023-12-08T12:24:12.602Z","dependency_job_id":"32826c71-6bf5-4bc3-8387-3fb2fa20fd3d","html_url":"https://github.com/artefactual-labs/docker-gearmand","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/artefactual-labs%2Fdocker-gearmand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artefactual-labs%2Fdocker-gearmand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artefactual-labs%2Fdocker-gearmand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artefactual-labs%2Fdocker-gearmand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artefactual-labs","download_url":"https://codeload.github.com/artefactual-labs/docker-gearmand/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252913541,"owners_count":21824198,"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":["backend","containers","docker","docker-image","gearman","gearmand","jobs","queue"],"created_at":"2024-11-17T22:12:21.389Z","updated_at":"2025-05-07T16:23:48.803Z","avatar_url":"https://github.com/artefactual-labs.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gearmand\n[![Latest Release](https://img.shields.io/docker/v/artefactual/gearmand?style=flat-square)](https://github.com/artefactual-labs/docker-gearmand)\n\n`artefactual/gearmand` packages recent versions of gearmand using Alpine Linux as the base image.\n\n## Supported tags and respective `Dockerfile` links\n\n- [`1.1.15-alpine` (*Dockerfile*)](1.1.15/Dockerfile)\n- [`1.1.16-alpine` (*Dockerfile*)](1.1.16/Dockerfile)\n- [`1.1.17-alpine` (*Dockerfile*)](1.1.17/Dockerfile)\n- [`1.1.18-alpine` (*Dockerfile*)](1.1.18/Dockerfile)\n- [`1.1.19.1-alpine` (*Dockerfile*)](1.1.19.1/Dockerfile)\n- [`1.1.20.1-alpine` (*Dockerfile*)](1.1.20.1/Dockerfile)\n- [`1.1.21.2-alpine`, `latest` (*Dockerfile*)](1.1.21.2/Dockerfile)\n\nSee also the [official releases](https://github.com/gearman/gearmand/releases) page.\n\n## Supported gearmand backends\n\n- `builtin` (default)\n- `libmemcached`\n- `mysql` (using `mariadb-dev`)\n- `redis`\n\n## Usage\n\nPrint help:\n\n```bash\ndocker run --rm -i artefactual/gearmand:latest --help\n```\n\nUse `redis` backend and set verbose level to `DEBUG`.\n\n```bash\ndocker run --rm -i artefactual/gearmand:latest --queue-type=redis --redis-server=192.168.1.1 --redis-port=6379 --verbose=DEBUG\n```\n\n## Environment variables\n\nThis image includes an entry point that translates environment strings into [configuration attributes](http://gearman.info/gearmand.html). The following is a list of the strings currently supported:\n\n| Name                | Description                                                                                                                              | Default                         |\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|\n| VERBOSE             | Logging level                                                                                                                            | INFO                            |\n| GEARMAND_PORT       | Listen port                                                                                                                              | 4730                            |\n| QUEUE_TYPE          | Persistent queue type to use                                                                                                             | builtin                         |\n| THREADS             | Number of I/O threads to use                                                                                                             | 4                               |\n| BACKLOG             | Number of backlog connections for listen                                                                                                 | 32                              |\n| FILE_DESCRIPTORS    | Number of file descriptors to allow for the process                                                                                      | Default is max allowed for user |\n| JOB_RETRIES         | Number of attempts to run the job before the job server removes it. Default is no limit.                                                 | 0                               |\n| ROUND_ROBIN         | Assign work in round-robin order per worker connection                                                                                   | 0                               |\n| WORKER_WAKEUP       | Number of workers to wakeup for each job received                                                                                        | 0                               |\n| KEEPALIVE           | Enable keepalive on sockets                                                                                                              | 0                               |\n| KEEPALIVE_IDLE      | The duration between two keepalive transmissions in idle condition                                                                       | 30                              |\n| KEEPALIVE_INTERVAL  | The duration between two successive keepalive retransmissions, if acknowledgement to the previous keepalive transmission is not received | 10                              |\n| KEEPALIVE_COUNT     | The number of retransmissions to be carried out before declaring that remote end is not available                                        | 5                               |\n| MYSQL_HOST          | MySQL server host                                                                                                                        | localhost                       |\n| MYSQL_PORT          | MySQL server port                                                                                                                        | 3306                            |\n| MYSQL_USER          | MySQL server user                                                                                                                        | root                            |\n| MYSQL_PASSWORD      | MySQL password                                                                                                                           |                                 |\n| MYSQL_PASSWORD_FILE | Path to file with MySQL password (Docker secrets)                                                                                        |                                 |\n| MYSQL_DB            | Database to use by Gearman                                                                                                               | Gearmand                        |\n| MYSQL_TABLE         | Table to use by Gearman                                                                                                                  | gearman_queue                   |\n\nYou can also inject your version of config file to `/etc/gearmand.conf` as needed.\n\n## Credits\n\nSee the [list of contributors](https://github.com/artefactual-labs/docker-gearmand/graphs/contributors).\n\nThanks to @Mararok for the new entry point bringing support for environment variables and secrets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartefactual-labs%2Fdocker-gearmand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartefactual-labs%2Fdocker-gearmand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartefactual-labs%2Fdocker-gearmand/lists"}