Last active
January 13, 2016 15:11
-
-
Save rafabene/648cc01692403eb69266 to your computer and use it in GitHub Desktop.
EAP 6.4 + Ticket-Monster
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
#From EAP 6.4 | |
FROM registry.access.redhat.com/jboss-eap-6/eap64-openshift | |
MAINTAINER "Rafael Benevides" <[email protected]> | |
ENV USERNAME admin | |
ENV PASSWORD docker#admin1 | |
#Create admin user | |
RUN /opt/eap/bin/add-user.sh -u $USERNAME -p $PASSWORD --silent | |
# Expose the ports we're interested in | |
EXPOSE 8080 9990 | |
# ADD Application | |
ADD ticket-monster.war /opt/eap/standalone/deployments/ | |
# Set the default command to run on boot | |
# This will boot EAP 6.4 in the standalone mode and bind to external interface | |
CMD /opt/eap/bin/standalone.sh -b 0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment