Skip to content

Commit

Permalink
Merge pull request #40 from arifszn/RabbitMQ
Browse files Browse the repository at this point in the history
Add RabbitMQ as service offerings
  • Loading branch information
arifszn committed Aug 6, 2023
2 parents ab985f0 + 5244edd commit 0eea63a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ Vail supports the following services:
- [Adminer](#adminer)
- [MinIO](#minio)
- [Mailpit](#mailpit)
- [RabbitMQ](#rabbitmq)
- More coming soon!

### Multiple Node version
Expand Down Expand Up @@ -188,6 +189,10 @@ You can send your emails to Mailpit SMTP server at `localhost:1025` and view the

![Mailpit](https://github.com/arifszn/vail/assets/45073703/9968631f-454e-4af2-9d22-a2f1cfbe640b)

### RabbitMQ

RabbitMQ is an open-source message-queueing software also known as a message broker or queue manager.

## Support

<p>You can show your support by starring this project.</p>
Expand Down
5 changes: 3 additions & 2 deletions src/constants/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ const MY_SQL = 'mysql';
const ADMINER = 'adminer';
const MINIO = 'minio';
const MAILPIT = 'mailpit';
const RABBITMQ = 'rabbitmq';

const NODE_14 = '14';
const NODE_16 = '16';
const NODE_18 = '18';

const SERVICES = [MY_SQL, ADMINER, MINIO, MAILPIT];
const SERVICES = [MY_SQL, ADMINER, MINIO, MAILPIT, RABBITMQ];

const SERVICES_WITH_VOLUME = [MY_SQL, MINIO];
const SERVICES_WITH_VOLUME = [MY_SQL, MINIO, RABBITMQ];

const NODE_VERSIONS = [NODE_14, NODE_16, NODE_18];

Expand Down
3 changes: 1 addition & 2 deletions stubs/adminer.stub
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ adminer:
ports:
- '${ADMINER_PORT:-8080}:8080'
networks:
- vail

- vail
3 changes: 1 addition & 2 deletions stubs/mysql.stub
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ mysql:
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-p${DB_PASSWORD:-password}"]
retries: 3
timeout: 5s

timeout: 5s
10 changes: 10 additions & 0 deletions stubs/rabbitmq.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
rabbitmq:
image: 'rabbitmq:3-management-alpine'
ports:
- '${RABBITMQ_PORT:-5672}:5672'
- '${RABBITMQ_DASHBOARD_PORT:-15672}:15672'
volumes:
- 'vail-rabbitmq:/var/lib/rabbitmq/'
- 'vail-rabbitmq:/var/log/rabbitmq'
networks:
- vail

0 comments on commit 0eea63a

Please sign in to comment.