{"id":22039554,"url":"https://github.com/mpolinowski/elk-server-compose","last_synced_at":"2026-05-20T07:03:27.507Z","repository":{"id":111483064,"uuid":"458759543","full_name":"mpolinowski/elk-server-compose","owner":"mpolinowski","description":"Elasticsearch \u0026 Kibana v8 with Docker Compose","archived":false,"fork":false,"pushed_at":"2022-02-20T10:00:32.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T13:15:08.708Z","etag":null,"topics":["docker-compose","elastic","elasticsearch","kibana"],"latest_commit_sha":null,"homepage":"https://mpolinowski.github.io/devnotes/2022-02-02--elasticsearch-v8-upgrade","language":"Dockerfile","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/mpolinowski.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":"2022-02-13T09:07:55.000Z","updated_at":"2023-09-27T03:31:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a24448f-64ea-4654-915c-d321d4f7909d","html_url":"https://github.com/mpolinowski/elk-server-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mpolinowski/elk-server-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2Felk-server-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2Felk-server-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2Felk-server-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2Felk-server-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpolinowski","download_url":"https://codeload.github.com/mpolinowski/elk-server-compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2Felk-server-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272315702,"owners_count":24912617,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-compose","elastic","elasticsearch","kibana"],"created_at":"2024-11-30T11:11:12.769Z","updated_at":"2026-05-20T07:03:27.423Z","avatar_url":"https://github.com/mpolinowski.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- TOC --\u003e\n\n- [The Elastic Stack](#the-elastic-stack)\n  - [Setup](#setup)\n\n\u003c!-- /TOC --\u003e\n\n\n# The Elastic Stack\n\n## Setup\n\n1. Clone the this repository:\n\n```bash\ngit clone https://github.com/mpolinowski/elk-server-compose.git\n```\n\n2. Build and Run:\n\n```bash\ndocker-compose build\ndocker-compose up\n```\n\n3. Create Random User Logins\n\nNow I can connect to the running Elasticsearch container and generate random passwords for both the `elastic` and `kibana_system` user:\n\n\n```bash\ndocker-compose exec -T elasticsearch bin/elasticsearch-reset-password --batch --user elastic\n```\n\n\n```bash\ndocker-compose exec -T elasticsearch bin/elasticsearch-reset-password --batch --user kibana_system\n```\n\n\n4. Replace Kibana User Login\n\nReplace the password of the `kibana_system` user inside the Kibana configuration file with the password generated in the previous step:\n\n\n_kibana/config/kibana.yml_\n\n\n```yml\nelasticsearch.username: kibana_system\nelasticsearch.password: 'mygeneratedpassword'\n```\n\n\nAnd change the __ELASTIC_PASSWORD__ environment variable from the elasticsearch service inside the Compose file `docker-compose.yml`.:\n\n\n```yml\nELASTIC_PASSWORD: 'mygeneratedpassword'\n```\n\n5. Restart and Start Using Elasticsearch / Kibana\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpolinowski%2Felk-server-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpolinowski%2Felk-server-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpolinowski%2Felk-server-compose/lists"}