{"id":23381265,"url":"https://github.com/bvis/docker-rabbitmq","last_synced_at":"2025-04-08T08:26:54.254Z","repository":{"id":149012777,"uuid":"53603525","full_name":"bvis/docker-rabbitmq","owner":"bvis","description":"Extends the official Docker RabbitMQ image and adds the possibility to execute shell scripts when launching the container.","archived":false,"fork":false,"pushed_at":"2018-07-10T12:48:28.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T05:29:51.994Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bvis.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":"2016-03-10T17:25:11.000Z","updated_at":"2019-08-26T19:23:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec1289c2-5f43-4e12-afa8-2b0f45ef7d84","html_url":"https://github.com/bvis/docker-rabbitmq","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvis%2Fdocker-rabbitmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvis%2Fdocker-rabbitmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvis%2Fdocker-rabbitmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvis%2Fdocker-rabbitmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bvis","download_url":"https://codeload.github.com/bvis/docker-rabbitmq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247803244,"owners_count":20998731,"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-12-21T20:48:38.265Z","updated_at":"2025-04-08T08:26:54.224Z","avatar_url":"https://github.com/bvis.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# basi/rabbitmq\n\nIt extends the official Docker RabitMQ image and adds the possibility of execute shell scripts when launching a container.\n\nIt's useful to initialize vhosts, permissions, etc.\n\nFor test the automatic registration of the vhosts and other configurations, assuming you have \".sh\" scripts in the _./setup_ directory:\n\n```\n$ cat setup/notifications_bus.sh\n#!/bin/bash\nrabbitmqctl add_user MYUSER MYPASS \\\n    \u0026\u0026 rabbitmqctl add_vhost MYVHOST \\\n    \u0026\u0026 rabbitmqctl set_permissions -p MYVHOST MYUSER \".*\" \".*\" \".*\"\n```\nIt creates a new vhost named \"MYVHOST\" and a user named \"MYUSER\" that will have all the permissions on the vhost.\n\nIt will we executed once the rabbit service is running:\n```\n$ docker run --rm --name rabbit-test -v $PWD/setup:/docker-entrypoint-initrabbitmq.d/ basi/rabbitmq:latest\n```\n\nIt provides a self healthcheck system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvis%2Fdocker-rabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbvis%2Fdocker-rabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvis%2Fdocker-rabbitmq/lists"}