{"id":25172560,"url":"https://github.com/musq/comcon","last_synced_at":"2026-04-12T04:33:22.517Z","repository":{"id":272770964,"uuid":"917703051","full_name":"musq/comcon","owner":"musq","description":"A set of common containers (aka comcon) that are usually needed during software development","archived":false,"fork":false,"pushed_at":"2025-02-05T11:41:31.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T23:11:27.530Z","etag":null,"topics":["docker","grafana","grafana-lgtm","kafka","loki","mimir","postgresql","redis","tempo","valkey"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/musq.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":"2025-01-16T13:47:05.000Z","updated_at":"2025-02-03T08:46:18.000Z","dependencies_parsed_at":"2025-02-10T10:30:27.269Z","dependency_job_id":null,"html_url":"https://github.com/musq/comcon","commit_stats":null,"previous_names":["musq/common-containers","musq/comcon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musq%2Fcomcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musq%2Fcomcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musq%2Fcomcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musq%2Fcomcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/musq","download_url":"https://codeload.github.com/musq/comcon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247086929,"owners_count":20881290,"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":["docker","grafana","grafana-lgtm","kafka","loki","mimir","postgresql","redis","tempo","valkey"],"created_at":"2025-02-09T10:14:54.710Z","updated_at":"2025-12-30T23:09:21.455Z","avatar_url":"https://github.com/musq.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Common Containers\n\nA set of containers that are usually needed during software development.\n\n## Clone\n\n```sh\n# Clone common-containers\ngit clone --recurse-submodules git@github.com:musq/common-containers.git\n\n# Go inside\ncd common-containers\n\n# Update all related repos\ngit submodule foreach 'git fetch \u0026\u0026 git rebase origin/main main'\n```\n\n[Learn how to work with Git Submodules](https://tug.ro/blog/git-demystified/#submodules).\n\n## Requirements\n\n```sh\n# Install Homebrew\n# https://brew.sh/\n\n# Install Docker Desktop on Mac\n# https://docs.docker.com/desktop/install/mac-install/\n\nbrew update  # Update brew\nbrew upgrade  # Upgrade packages\n\n# Install necessary tools\nbrew install jq\n\n# Install mkcert to create and manage dev CA certificates locally\nbrew install mkcert\n\n# Install `keytool` which we use to create TLS certificates for Kafka\n# NOTE: Carefully follow the instructions generated during running the next step\nbrew install openjdk\n```\n\n## Pre-Install\n\nNOTE: You should need to run these steps only once a year.\n\n- Setup `.env`\n\n```sh\n# Copy .env.example to .env\ncp .env.example .env\n\n# Fill .env with relevant details\n# If you're feeling lost, please ask someone who knows!\n```\n\n- Setup dev CA certificates\n\n```sh\n# Install a new development Certificate Authority on your machine\nexport CAROOT=~/.local/share/mkcert\n# NOTE: Carefully follow the instructions generated during running the next step\nmkcert -install\n\n# Generate a new certificate for local.dev\npushd ~/.local/share/mkcert\nmkdir local.dev \u0026\u0026 cd local.dev\nmkcert \"*.local.dev\"\npopd\n```\n\n- Create aliases\n\n```sh\n# bash users\necho \"alias dc=\\\"docker compose\\\"\" \u003e\u003e ~/.bash_profile\n\n# zsh users\necho \"alias dc=\\\"docker compose\\\"\" \u003e\u003e ~/.zshenv\n```\n\n## Install\n\nNOTE: You should need to run these steps only once a quarter.\n\n```sh\n# Merge certifi's CA bundle with mkcert's Root CA. The resulting file\n# will be provided as REQUESTS_CA_BUNDLE to python-requests package.\n./bin/merge_certifi_cabundle_and_mkcert_rootca.sh\n\n# Generate TLS certificates for Kafka and store in a keystore file\n./bin/create_kafka_tls_certificates.sh\n```\n\n## Run\n\n```sh\n# Bring all containers up and running\ndc up -d  # If this command fails, check if you've aliased dc to \"docker compose\"\n```\n\n## Troubleshooting\n\n```sh\n# If you ever encounter this error when running any command, then run the below\n# export command in your terminal first.\n# \u003e ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed\n\n# OpenSSL uses this environment variable to look for root CA certificates.\n# Used in looking up our Kafka's root CA.\nexport SSL_CERT_FILE=~/.local/share/mkcert/certifi_plus_mkcert_cacert.pem\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusq%2Fcomcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmusq%2Fcomcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusq%2Fcomcon/lists"}