Skip to content

Commit 1e5d604

Browse files
committed
Added support for RabbitMQ
1 parent 5a980b1 commit 1e5d604

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Let's see how easy it is to install `NGINX`, `PHP`, `Composer`, `MySQL` and `Red
129129
- HHVM
130130
- **Message Queueing Systems:**
131131
- Beanstalkd (+ Beanstalkd Console)
132+
- RabbitMQ (+ RabbitMQ Console)
132133
- **Tools:**
133134
- Workspace (PHP7-CLI, Composer, Git, Node, Gulp, SQLite, Vim, Nano, cURL...)
134135
- phpMyAdmin
@@ -249,7 +250,7 @@ docker-compose up -d nginx mysql
249250

250251
You can select your own combination of Containers form the list below:
251252

252-
`nginx`, `hhvm`, `php-fpm`, `mysql`, `redis`, `postgres`, `mariadb`, `neo4j`, `mongo`, `apache2`, `caddy`, `memcached`, `beanstalkd`, `beanstalkd-console`, `workspace`, `phpmyadmin`.
253+
`nginx`, `hhvm`, `php-fpm`, `mysql`, `redis`, `postgres`, `mariadb`, `neo4j`, `mongo`, `apache2`, `caddy`, `memcached`, `beanstalkd`, `beanstalkd-console`, `rabbitmq`, `workspace`, `phpmyadmin`.
253254

254255

255256
**Note**: `workspace` and `php-fpm` will run automatically in most of the cases, so no need to specify them in the `up` command.

docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,21 @@ services:
185185
links:
186186
- php-fpm
187187

188+
### RabbitMQ Container ####################################
189+
190+
rabbitmq:
191+
build: ./rabbitmq
192+
ports:
193+
- "5672:5672"
194+
- "15671:15671"
195+
- "8080:15672"
196+
privileged: true
197+
environment:
198+
RABBITMQ_DEFAULT_USER: guest
199+
RABBITMQ_DEFAULT_PASS: guest
200+
links:
201+
- php-fpm
202+
188203
### Beanstalkd Console Container ############################
189204

190205
beanstalkd-console:

rabbitmq/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# RabbitMQ Dockerfile
3+
#
4+
# https://github.com/dockerfile/rabbitmq
5+
#
6+
7+
# Pull base image.
8+
FROM rabbitmq
9+
10+
RUN rabbitmq-plugins enable --offline rabbitmq_management
11+
12+
EXPOSE 15671 15672

0 commit comments

Comments
 (0)