forked from laradock/laradock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
using Alpine for Beanstalkd and RabbitMQ, list all ports exposed for …
…RabbitMQ (laradock#1950)
- Loading branch information
Showing
2 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,7 @@ | ||
FROM phusion/baseimage:latest | ||
|
||
FROM alpine | ||
LABEL maintainer="Mahmoud Zalt <[email protected]>" | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV PATH /usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y beanstalkd | ||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
VOLUME /var/lib/beanstalkd/data | ||
RUN apk add --no-cache beanstalkd | ||
|
||
EXPOSE 11300 | ||
|
||
CMD ["/usr/bin/beanstalkd"] | ||
ENTRYPOINT ["/usr/bin/beanstalkd"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM rabbitmq | ||
FROM rabbitmq:alpine | ||
|
||
LABEL maintainer="Mahmoud Zalt <[email protected]>" | ||
|
||
RUN rabbitmq-plugins enable --offline rabbitmq_management | ||
|
||
EXPOSE 15671 15672 | ||
EXPOSE 4369 5671 5672 15671 15672 25672 |