Skip to content

Instantly share code, notes, and snippets.

@auryn31
Last active April 25, 2019 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auryn31/7db661309ce37a9317e0b88c6375b31f to your computer and use it in GitHub Desktop.
Save auryn31/7db661309ce37a9317e0b88c6375b31f to your computer and use it in GitHub Desktop.
FROM jboss/wildfly
ADD helloworld.war /opt/jboss/wildfly/standalone/deployments/
ARG WILDFLY_NAME
ARG CLUSTER_PW
ENV WILDFLY_NAME=${WILDFLY_NAME}
ENV CLUSTER_PW=${CLUSTER_PW}
ENTRYPOINT /opt/jboss/wildfly/bin/standalone.sh -b=0.0.0.0 -bmanagement=0.0.0.0 -Djboss.server.default.config=standalone-full-ha.xml -Djboss.node.name=${WILDFLY_NAME} -Djava.net.preferIPv4Stack=true -Djgroups.bind_addr=$(hostname -i) -Djboss.messaging.cluster.password=${CLUSTER_PW}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment