Skip to content

Instantly share code, notes, and snippets.

@rafabene
Last active January 13, 2016 15:11
Show Gist options
  • Save rafabene/648cc01692403eb69266 to your computer and use it in GitHub Desktop.
Save rafabene/648cc01692403eb69266 to your computer and use it in GitHub Desktop.
EAP 6.4 + Ticket-Monster
#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