@ -1,5 +1,6 @@
#variables
IPADDRESS=$(hostname -i)
/opt/jboss/wildfly/bin/standalone.sh -c ${WF_CONFIG} -b ${IPADDRESS} -Djboss.bind.address.management=${IPADDRESS}
EXTRA_JAVA_OPTS=$EXTRA_JAVA_OPTS -Djboss.bind.address.management=${IPADDRESS}
/opt/jboss/wildfly/bin/standalone.sh -c ${WF_CONFIG} -b ${IPADDRESS} ${EXTRA_JAVA_OPTS}
@ -1,7 +1,7 @@
FROM khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest
#set environment
ENV JAVA_OPTS="-Dcom.wanhai.tml.yard.current=KHHW"
ENV EXTRA_JAVA_OPTS="-Dcom.wanhai.tml.yard.current=KHHW"
#prepare tmp dir
COPY --chown=jboss . ${JBOSS_HOME}/config
ENV JAVA_OPTS="-Dcom.wanhai.tml.yard.current=TXGW"
ENV EXTRA_JAVA_OPTS="-Dcom.wanhai.tml.yard.current=TXGW"