Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mojtaba-arvin/rabbitmq
Simple RabbitMQ Service | join to Nginx network as a extrenal network to use the RabbitMQ Management UI
https://github.com/mojtaba-arvin/rabbitmq
docker-compose nginx rabbit rabbitmq rabbitmq-docker rabbitmq-example rabbitmq-management rabbitmq-network rabbitmq-nginx rabbitmq-server rabbitmq-service reverse-proxy
Last synced: 10 days ago
JSON representation
Simple RabbitMQ Service | join to Nginx network as a extrenal network to use the RabbitMQ Management UI
- Host: GitHub
- URL: https://github.com/mojtaba-arvin/rabbitmq
- Owner: mojtaba-arvin
- License: mit
- Created: 2021-03-13T04:56:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-31T08:15:11.000Z (over 3 years ago)
- Last Synced: 2024-05-05T05:32:00.391Z (7 months ago)
- Topics: docker-compose, nginx, rabbit, rabbitmq, rabbitmq-docker, rabbitmq-example, rabbitmq-management, rabbitmq-network, rabbitmq-nginx, rabbitmq-server, rabbitmq-service, reverse-proxy
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple RabbitMQ Service
![rabbitmq up](https://user-images.githubusercontent.com/6056661/111041550-edafc600-844d-11eb-8123-4d3a9a3473c1.png)
### Setup environment`RabbitMQ` environment ,must be at `.docker-compose/` directory as `.env` file. you can copy the sample:
```
cp .docker-compose/.env.local .docker-compose/.env
```### RabbitMQ management UI Access
The RabbitMQ management plugin provides an HTTP-based API for management and monitoring
#### production
To use management UI in production, there is a sample compose file ( `docker-compose.join.nginx.yml` ) , to join `Nginx` reverse proxy network.
you can use docker-compose `-f` option, to join nginx network```
docker-compose -f docker-compose.yml -f docker-compose.join.nginx.yml up -d
```#### development
To use management UI in local environment, there is a sample compose file ( `docker-compose.local.yml` ), to map ports.```
docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d
```then,the management UI can be accessed using a Web browser at `http://localhost:15672/`.
### Clients
Clients on the same machine, can join this service by define an external network,
for example when the client network name is `sample-network` it should define as:```
networks:
sample-network:
external:
name: rabbitmq_broker-network
```The `external` network name, has two part, which are separated by an underline, `rabbitmq` is name of the repository, and `broker-network` is the network name of this repository