{"id":20532175,"url":"https://github.com/monogramm/docker-fail2web","last_synced_at":"2025-08-30T22:15:00.342Z","repository":{"id":93144446,"uuid":"175306611","full_name":"Monogramm/docker-fail2web","owner":"Monogramm","description":":whale: Docker image for fail2web.","archived":false,"fork":false,"pushed_at":"2019-05-13T10:44:52.000Z","size":51,"stargazers_count":7,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T06:37:37.236Z","etag":null,"topics":["alpine","docker","fail2web"],"latest_commit_sha":null,"homepage":"https://github.com/Sean-Der/fail2web","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Monogramm.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,"zenodo":null}},"created_at":"2019-03-12T22:36:38.000Z","updated_at":"2025-04-03T12:10:49.000Z","dependencies_parsed_at":"2023-06-05T05:30:49.254Z","dependency_job_id":null,"html_url":"https://github.com/Monogramm/docker-fail2web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Monogramm/docker-fail2web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2Fdocker-fail2web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2Fdocker-fail2web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2Fdocker-fail2web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2Fdocker-fail2web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Monogramm","download_url":"https://codeload.github.com/Monogramm/docker-fail2web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2Fdocker-fail2web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265683613,"owners_count":23810867,"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":["alpine","docker","fail2web"],"created_at":"2024-11-16T00:13:24.503Z","updated_at":"2025-07-18T00:09:31.563Z","avatar_url":"https://github.com/Monogramm.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[uri_license]: http://www.gnu.org/licenses/agpl.html\n[uri_license_image]: https://img.shields.io/badge/License-AGPL%20v3-blue.svg\n\n[![License: AGPL v3][uri_license_image]][uri_license]\n[![Build Status](https://travis-ci.org/Monogramm/docker-fail2web.svg)](https://travis-ci.org/Monogramm/docker-fail2web)\n[![Docker Automated buid](https://img.shields.io/docker/cloud/build/monogramm/docker-fail2web.svg)](https://hub.docker.com/r/monogramm/docker-fail2web/)\n[![Docker Pulls](https://img.shields.io/docker/pulls/monogramm/docker-fail2web.svg)](https://hub.docker.com/r/monogramm/docker-fail2web/)\n[![](https://images.microbadger.com/badges/version/monogramm/docker-fail2web.svg)](https://microbadger.com/images/monogramm/docker-fail2web)\n[![](https://images.microbadger.com/badges/image/monogramm/docker-fail2web.svg)](https://microbadger.com/images/monogramm/docker-fail2web)\n\n# Docker image for fail2web\n\nThis Docker repository provides the [fail2web](https://github.com/Sean-Der/fail2web) server with a configuration suitable to use with [fail2rest](https://github.com/Sean-Der/fail2rest).\n\n## Build Docker image\n\nInstall Docker and then run `docker build -t docker-fail2web .` to build the image.\n\n## How to run this image ?\n\nThis image is designed to be used in a micro-service environment. You can easily setup your fail2web with the sample [docker-compose.yml](docker-compose.yml).\n\n## Auto configuration via environment variables\n\nThe fail2web image supports auto configuration via environment variables.\n\n\n### FAIL2REST_ADDR\n\n*Default value*: `http://localhost:5000/`\n\nThis parameter sets the local address of fail2rest.\n\nExamples:\n```\nFAIL2REST_ADDR='http://localhost:5000/'\nFAIL2REST_ADDR='http://127.0.0.1:5000/'\nFAIL2REST_ADDR='http://fail2rest:5000/'\n```\n\n\n### FAIL2REST_USER\n\n*Default value*: `admin.fail2ban`\n\nThis parameter sets the default htpasswd username. **Only used on first run.**\n\nExamples:\n```\nFAIL2REST_USER='admin'\nFAIL2REST_USER='root'\nFAIL2REST_USER='john.doe'\n```\n\n\n### FAIL2REST_PASSWD\n\n*Default value*: `youshouldoverwritethis`\n\nThis parameter sets the default htpasswd password. **Only used on first run.**\n\nExamples:\n```\nFAIL2REST_PASSWD=somethingverysecure\nFAIL2REST_PASSWD=somethingrandomlygenerated\n```\n\n\n### FAIL2REST_PASSWD_COST\n\n*Default value*: `15`\n\n*Possible values*: from 4 to 31. Be careful of the computation time for anything higher than 10.\n\nThis parameter sets the default htpasswd bcrypt cost. **Only used on first run.**\n\nExamples:\n```\nFAIL2REST_PASSWD_COST=4\nFAIL2REST_PASSWD_COST=14\nFAIL2REST_PASSWD_COST=31\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonogramm%2Fdocker-fail2web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonogramm%2Fdocker-fail2web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonogramm%2Fdocker-fail2web/lists"}