{"id":20504031,"url":"https://github.com/icinga/docker-icingaweb2","last_synced_at":"2025-04-13T20:47:35.818Z","repository":{"id":37980125,"uuid":"274184759","full_name":"Icinga/docker-icingaweb2","owner":"Icinga","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-12T10:18:01.000Z","size":130,"stargazers_count":17,"open_issues_count":13,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-13T20:47:24.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Icinga.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-22T16:09:19.000Z","updated_at":"2025-01-27T22:36:32.000Z","dependencies_parsed_at":"2023-02-15T22:50:22.083Z","dependency_job_id":"86b9da5d-5e9b-4d15-9547-42e20e37e13f","html_url":"https://github.com/Icinga/docker-icingaweb2","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/Icinga%2Fdocker-icingaweb2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icinga%2Fdocker-icingaweb2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icinga%2Fdocker-icingaweb2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icinga%2Fdocker-icingaweb2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Icinga","download_url":"https://codeload.github.com/Icinga/docker-icingaweb2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782278,"owners_count":21160716,"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":[],"created_at":"2024-11-15T19:35:48.446Z","updated_at":"2025-04-13T20:47:35.798Z","avatar_url":"https://github.com/Icinga.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Icinga Web 2 Docker image | (c) 2020 Icinga GmbH | GPLv2+ --\u003e\n\n# Icinga Web 2 - Docker image\n\nThis image integrates [Icinga Web 2] into your [Docker] environment.\n\n## Usage\n\n```bash\ndocker run --rm -d \\\n\t-p 8080:8080 \\\n\t-v icingaweb:/data \\\n\t-e icingaweb.enabledModules=icingadb \\\n\t-e icingaweb.passwords.icingaweb2.icingaadmin=123456 \\\n\t-e icingaweb.authentication.icingaweb2.backend=db \\\n\t-e icingaweb.authentication.icingaweb2.resource=icingaweb_db \\\n\t-e icingaweb.config.global.config_backend=db \\\n\t-e icingaweb.config.global.config_resource=icingaweb_db \\\n\t-e icingaweb.config.logging.log=php \\\n\t-e icingaweb.groups.icingaweb2.backend=db \\\n\t-e icingaweb.groups.icingaweb2.resource=icingaweb_db \\\n\t-e icingaweb.modules.icingadb.config.icingadb.resource=icingadb \\\n\t-e icingaweb.modules.icingadb.redis.redis1.host=2001:db8::192.0.2.18 \\\n\t-e icingaweb.modules.icingadb.redis.redis1.port=6379 \\\n\t-e icingaweb.modules.icingadb.commandtransports.icinga2.transport=api \\\n\t-e icingaweb.modules.icingadb.commandtransports.icinga2.host=2001:db8::192.0.2.9 \\\n\t-e icingaweb.modules.icingadb.commandtransports.icinga2.username=root \\\n\t-e icingaweb.modules.icingadb.commandtransports.icinga2.password=123456 \\\n\t-e icingaweb.resources.icingaweb_db.type=db \\\n\t-e icingaweb.resources.icingaweb_db.db=mysql \\\n\t-e icingaweb.resources.icingaweb_db.host=2001:db8::192.0.2.13 \\\n\t-e icingaweb.resources.icingaweb_db.dbname=icingaweb \\\n\t-e icingaweb.resources.icingaweb_db.username=icingaweb \\\n\t-e icingaweb.resources.icingaweb_db.password=123456 \\\n\t-e icingaweb.resources.icingaweb_db.charset=utf8mb4 \\\n\t-e icingaweb.resources.icingadb.type=db \\\n\t-e icingaweb.resources.icingadb.db=mysql \\\n\t-e icingaweb.resources.icingadb.host=2001:db8::192.0.2.113 \\\n\t-e icingaweb.resources.icingadb.dbname=icingadb \\\n\t-e icingaweb.resources.icingadb.username=icingaweb \\\n\t-e icingaweb.resources.icingadb.password=123456 \\\n\t-e icingaweb.resources.icingadb.charset=utf8mb4 \\\n\t-e icingaweb.roles.Administrators.users=icingaadmin \\\n\t-e icingaweb.roles.Administrators.permissions='*' \\\n\t-e icingaweb.roles.Administrators.groups=Administrators \\\n\ticinga/icingaweb2\n```\n\nThe container listens on port 8080 and expects a volume on `/data`.\nTo configure it, do one of the following:\n\n* Run the setup wizard as usual.\n  It will store all configuration in `/data/etc/icingaweb2`.\n  Hint: `docker run --rm -v icingaweb:/data icinga/icingaweb2 icingacli setup token create`\n* Provide configuration files in `/data/etc/icingaweb2` by yourself.\n  Consult the [Icinga Web 2 configuration documentation]\n  on which .ini files there are.\n* Provide environment variables as shown above.\n\n### Environment variables\n\n`icingaweb.enabledModules` is a comma-separated set\nof the only modules to be enabled.\n\nVariables like `icingaweb.passwords.backend.user=pass`\nensures a user \"user\" with the password \"pass\" to be present\nin the database authentication backend \"backend\".\n\nVariables like `icingaweb.dir.subdir.file.section.option=value` create .ini\nfiles like `/data/etc/icingaweb2/dir/subdir/file.ini` with content like this:\n\n```ini\n[section]\noption = value\n```\n\nConsult the [Icinga Web 2 configuration documentation]\non which .ini files there are.\n\n### External authentication\n\nWhen using `icingaweb.authentication.autologin.backend: external`, the Username needs to be passed in the `X-Remote-User` header.\n\n## Build it yourself\n\n```bash\ngit clone https://github.com/Icinga/icingaweb2.git\n#pushd icingaweb2\n#git checkout v2.9.0\n#popd\n\n./build.bash ./icingaweb2\n```\n\n[Icinga Web 2]: https://github.com/Icinga/icingaweb2\n[Docker]: https://www.docker.com\n[Icinga Web 2 configuration documentation]: https://icinga.com/docs/icingaweb2/latest/doc/03-Configuration/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficinga%2Fdocker-icingaweb2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficinga%2Fdocker-icingaweb2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficinga%2Fdocker-icingaweb2/lists"}