Skip to content

Commit

Permalink
fixed Dockerfiles
Browse files Browse the repository at this point in the history
issue #589
  • Loading branch information
rsoika committed Jul 9, 2024
1 parent 891cce6 commit f9c891e
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 33 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ COPY ./docker/configuration/wildfly/standalone.xml /opt/jboss/wildfly/standalone

# Deploy artefact
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
#USER root
#RUN mkdir /opt/jboss/lucene
#RUN chown -R jboss:jboss /opt/jboss/lucene
#USER jboss

WORKDIR /opt/jboss
#WORKDIR /opt/jboss
# Run with management interface
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]
10 changes: 5 additions & 5 deletions Dockerfile-cli
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ RUN /opt/jboss/wildfly/bin/jboss-cli.sh --file="/opt/jboss/wildfly/bin/config.cl

# Deploy artefact
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
#USER root
#RUN mkdir /opt/jboss/lucene
#RUN chown -R jboss:jboss /opt/jboss/lucene
#USER jboss

WORKDIR /opt/jboss/wildfly
#WORKDIR /opt/jboss/wildfly
# Run with management interface
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]
18 changes: 0 additions & 18 deletions Dockerfile-wildfly-20

This file was deleted.

10 changes: 5 additions & 5 deletions Dockerfile-wildfly-debug
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ COPY ./docker/configuration/wildfly/standalone.xml /opt/jboss/wildfly/standalone
# Deploy artefact

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
#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/wildfly
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "--debug", "*:8787"]
21 changes: 21 additions & 0 deletions MIGRATION-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

The following section contains migration notes for Imixs-Office-Workflow.

## Imixs-Office-Workflow 5.0.x

Wildfily Image has changed! For that reason the volume mapping need to be changed. This is an example for Kubernetes:

```yaml
volumeMounts:
- mountPath: /opt/jboss/wildfly/lucene
name: index
restartPolicy: Always
volumes:
- name: index
persistentVolumeClaim:
claimName: index
```
**Note:** This path mapping assumes that the property `imixs-office.IndexDir` points to `lucene/office-workflow-index`





## Imixs-Office-Workflow 4.6.0

- New Main Layout - New CSS Class names for header and content container!
Expand Down

0 comments on commit f9c891e

Please sign in to comment.