{"id":26714971,"url":"https://github.com/opencodeco/stack","last_synced_at":"2025-04-13T23:48:08.747Z","repository":{"id":187028693,"uuid":"676199329","full_name":"opencodeco/stack","owner":"opencodeco","description":"🧱 Common infrastructure components in a single command.","archived":false,"fork":false,"pushed_at":"2025-03-07T18:35:44.000Z","size":41,"stargazers_count":37,"open_issues_count":0,"forks_count":7,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-03-27T13:51:35.500Z","etag":null,"topics":["aws","docker","docker-compose","grafana","hacktoberfest","kafka","mongodb","mysql","o11y","prometheus","rabbitmq","redis","stack"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/opencodeco.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":"2023-08-08T16:45:01.000Z","updated_at":"2025-03-07T18:37:09.000Z","dependencies_parsed_at":"2024-09-06T21:56:45.223Z","dependency_job_id":"aacb4701-3428-45da-a308-9e41c297dcb3","html_url":"https://github.com/opencodeco/stack","commit_stats":{"total_commits":37,"total_committers":6,"mean_commits":6.166666666666667,"dds":0.2702702702702703,"last_synced_commit":"8c5093dff75b783939d043296cb42fb792e30041"},"previous_names":["opencodeco/stack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencodeco%2Fstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencodeco%2Fstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencodeco%2Fstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencodeco%2Fstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencodeco","download_url":"https://codeload.github.com/opencodeco/stack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799713,"owners_count":21163398,"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":["aws","docker","docker-compose","grafana","hacktoberfest","kafka","mongodb","mysql","o11y","prometheus","rabbitmq","redis","stack"],"created_at":"2025-03-27T13:51:37.935Z","updated_at":"2025-04-13T23:48:08.724Z","avatar_url":"https://github.com/opencodeco.png","language":"Shell","readme":"# `stack`\n\n🧱 Common infrastructure components in a single command.\n\n## Getting started\n\n### Installation\n\n```shell\nbash -c \"$(curl -fsSL https://raw.githubusercontent.com/opencodeco/stack/main/install.sh)\"\n```\n\n## Components\n\n| Component | Description |\n| --- | --- |\n| `stack mysql`| MySQL \u0026 phpMyAdmin (http://localhost:8031) |\n| `stack redis` | Redis \u0026 RedisInsight (http://localhost:8032) |\n| `stack mongo` | MongoDB \u0026 Mongo Express (http://localhost:8033) |\n| `stack postgres` | PostgreSQL \u0026 pgAdmin (http://localhost:8034) |\n| `stack kafka` | Kafka and UI for Apache Kafka (http://localhost:8037) |\n| `stack rabbitmq` | RabbitMQ \u0026 Management Plugin (http://localhost:8038) |\n| `stack aws` | AWS services via LocalStack (http://localhost:4566) |\n| `stack hyperdx` | HyperDX local (http://localhost:8080) | \n| `stack o11y` | OpenTelemetry Collector, Jaeger UI, Prometheus \u0026 Grafana (see below) |\n\n### Observability (o11y)\n\n| Component | Description | Port |\n| --- | --- | --- |\n| OpenTelemetry Collector | Jaeger HTTP | `14268` |\n| OpenTelemetry Collector | Jaeger UDP | `6832` |\n| OpenTelemetry Collector | Statsd UDP | `8125` |\n| OpenTelemetry Collector | OTLP gRPC | `4317` |\n| OpenTelemetry Collector | OTLP HTTP | `4318` |\n| Jaeger UI | Traces | http://localhost:8034 |\n| Prometheus | Metrics | http://localhost:8035 |\n| Grafana | Dashboards \u0026 Alerts | http://localhost:8036 |\n\n## Commands\n\n| Command | Description |\n| --- | --- |\n| `stack ls` or `stack ps` | List running containers |\n| `stack path` | Display where Stack is located |\n| `stack network` | Create the external `opencodeco` network |\n\n## Getting started\n\n### Changing ports\n\nWhether to avoid conflicts or to set a port number that fits best for your enviroment, you can create a `.env` file at `stack path` and change port numbers based on `.env.dist`.\n\n### Install\n\nJust clone this repository:\n```shell\ngit clone https://github.com/opencodeco/stack.git\ncd stack\nmake install\n```\n\n### Usage\nYou can use the built-in Shell Script helper:\n```shell\nstack \u003ccomponent\u003e \u003cdocker compose command\u003e\n```\n\nThe `\u003cdocker compose command\u003e` defaults to `up -d`, so:\n```shell\nstack mysql\n```\nWill be the same as:\n```shell\nstack mysql up -d\n```\nWhich does a:\n```shell\ndocker-compose -d mysql/docker-compose.yml up -d\n```\nBehind the scenes.\n\n#### Which means you can combine any other valid Docker Compose command\n\nLike:\n```shell\nstack mysql down\n```\n\nOr:\n```shell\nstack mysql logs -f\n```\n\n---\n\n⚠️ **Remember:** this is suited for development environments only.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencodeco%2Fstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencodeco%2Fstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencodeco%2Fstack/lists"}