{"id":13412516,"url":"https://github.com/elastic/stack-docker","last_synced_at":"2025-09-28T23:32:20.429Z","repository":{"id":65978346,"uuid":"80588043","full_name":"elastic/stack-docker","owner":"elastic","description":"Project no longer maintained.","archived":true,"fork":false,"pushed_at":"2020-03-19T20:22:23.000Z","size":181,"stargazers_count":1180,"open_issues_count":33,"forks_count":446,"subscribers_count":394,"default_branch":"master","last_synced_at":"2025-01-11T04:55:35.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/elastic.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}},"created_at":"2017-02-01T04:01:15.000Z","updated_at":"2025-01-10T14:51:53.000Z","dependencies_parsed_at":"2023-02-19T19:01:14.772Z","dependency_job_id":null,"html_url":"https://github.com/elastic/stack-docker","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/elastic%2Fstack-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Fstack-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Fstack-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Fstack-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elastic","download_url":"https://codeload.github.com/elastic/stack-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234575214,"owners_count":18854924,"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-07-30T20:01:25.589Z","updated_at":"2025-09-28T23:32:15.087Z","avatar_url":"https://github.com/elastic.png","language":"Shell","funding_links":[],"categories":["Shell","HarmonyOS","others"],"sub_categories":["Windows Manager"],"readme":"# ARCHIVED\n\nThis project is no longer maintained. For alternative getting started\nexperiences, you may want to try one of these options:\n\n- Start a\n  [free trial on Elastic Cloud](https://www.elastic.co/cloud/elasticsearch-service/signup),\n  our hosted service.\n- Read our\n  [Running the Elastic Stack on Docker](https://www.elastic.co/guide/en/elastic-stack-get-started/current/get-started-docker.html)\n  guide.\n- Take a look at [our Helm charts](https://github.com/elastic/helm-charts) for\n  launching the stack via Kubernetes.\n\n# stack-docker\nThis example Docker Compose configuration demonstrates many components of the\nElastic Stack, all running on a single machine under Docker.\n\n## Prerequisites\n- Docker and Docker Compose.\n  * Windows and Mac users get Compose installed automatically\nwith Docker for Windows/Mac.\n\n  * Linux users can read the [install instructions](https://docs.docker.com/compose/install/#install-compose) or can install via pip:\n```\npip install docker-compose\n```\n\n* Windows Users must set the following 2 ENV vars:\n  * `COMPOSE_CONVERT_WINDOWS_PATHS=1`\n  * `PWD=/path/to/checkout/for/stack-docker`\n    * for example I use the path: `/c/Users/nick/elastic/stack-docker`\n    * Note: you're paths must be in the form of `/c/path/to/place` using `C:\\path\\to\\place` will not work\n  * You can set these two ways:\n    1. Temporarily add an env var in powershell use: `$Env:COMPOSE_CONVERT_WINDOWS_PATHS=1`\n    2. Permanently add an env var in powershell use: `[Environment]::SetEnvironmentVariable(\"COMPOSE_CONVERT_WINDOWS_PATHS\", \"1\", \"Machine\")`\n      \u003e Note: you will need to refresh or create a new powershell for this env var to take effect\n    3. in System Properties add the environment variables.\n\n\n* At least 4GiB of RAM for the containers. Windows and Mac users _must_\nconfigure their Docker virtual machine to have more than the default 2 GiB of\nRAM:\n\n![Docker VM memory settings](screenshots/docker-vm-memory-settings.png)\n\n* Linux Users must set the following configuration as `root`:\n\n```\nsysctl -w vm.max_map_count=262144\n```\nBy default, the amount of Virtual Memory [is not enough](https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html).\n\n\n## Starting the stack\n\nFirst we need to:\n\n1. set default password\n2. create keystores to store passwords\n3. install dashboards, index patterns, etc.. for beats and apm\n\nThis is accomplished using the setup.yml file:\n```\ndocker-compose -f setup.yml up\n```\n\nPlease take note after the setup completes it will output the password\nthat is used for the `elastic` login.\n\nNow we can launch the stack with `docker-compose up -d` to create a demonstration Elastic Stack with\nElasticsearch, Kibana, Logstash, Auditbeat, Metricbeat, Filebeat, Packetbeat,\nand Heartbeat.\n\nPoint a browser at [`http://localhost:5601`](http://localhost:5601) to see the results.\n\u003e *NOTE*: Elasticsearch is now setup with self-signed certs.\n\nLog in with `elastic` and what ever your auto generated elastic password is from the\nsetup.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastic%2Fstack-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felastic%2Fstack-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastic%2Fstack-docker/lists"}