Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
Issue #611
  • Loading branch information
rsoika committed Oct 25, 2024
1 parent 6426689 commit f89e238
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile-wildfly-debug
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@ LABEL description="Imixs-Office-Workflow"
LABEL maintainer="[email protected]"

# Copy EclipseLink

COPY ./docker/configuration/wildfly/modules/ /opt/jboss/wildfly/modules/

# Setup configuration

COPY ./docker/configuration/wildfly/standalone.xml /opt/jboss/wildfly/standalone/configuration/

# Deploy artefact

ADD ./imixs-office-workflow-app/target/imixs-office-workflow\*.war /opt/jboss/wildfly/standalone/deployments/
ADD ./imixs-office-workflow-app/target/imixs-office-workflow*.war /opt/jboss/wildfly/standalone/deployments/
USER root
RUN mkdir /opt/jboss/lucene
RUN chown -R jboss:jboss /opt/jboss/lucene
USER jboss

# Run in Debug Mode

WORKDIR /opt/jboss/wildfly
WORKDIR /opt/jboss
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "--debug", "*:8787"]
5 changes: 5 additions & 0 deletions devi
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ if [[ "$(strip_dash $1)" == "setup" ]]; then
docker-compose -f ./docker/docker-compose-dev.yaml up
fi

if [[ "$(strip_dash $1)" == "docker" ]]; then
echo " Buld Docker Image..."
mvn clean install -Pdocker
fi

if [[ "$(strip_dash $1)" == "start" ]]; then
echo " Start Dev Environment..."
Expand Down Expand Up @@ -62,6 +66,7 @@ if [[ $# -eq 0 ]]; then
echo " "
echo " -start : start Docker Containers"
echo " -build : build application and redeploy"
echo " -docker : build the Docker image"
echo " -hot : Manik Hotdeploy"
echo " -test : run tests"
echo " -setup : setup dev environment - rebuild docker containers "
Expand Down

0 comments on commit f89e238

Please sign in to comment.