Last active
August 29, 2015 14:15
-
-
Save andreareginato/6e50254feb2d57865b73 to your computer and use it in GitHub Desktop.
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
# Container to start from with a working HAProxy definition | |
FROM dockerfile/haproxy | |
MAINTAINER Andrea Reginato <andrea.reginato@gmail.com> | |
# Add personalized configuration | |
ADD haproxy.cfg /etc/haproxy/haproxy.cfg | |
# Add restart commands | |
ADD restart.bash /haproxy-restart | |
# Define working directory | |
WORKDIR /etc/haproxy | |
# Define default command | |
CMD ["bash", "/haproxy-start"] | |
# Expose ports | |
EXPOSE 80 | |
EXPOSE 1883 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment