GithubHelp home page GithubHelp logo

cwoodcock-docker / activiti Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eternnoir/activiti

1.0 1.0 6.0 122 KB

Dockerfile for the Activiti BPM Platform

License: GNU General Public License v2.0

Makefile 2.91% Shell 97.09%

activiti's People

Contributors

eternnoir avatar mgardellini avatar

Stargazers

 avatar

Watchers

 avatar  avatar

activiti's Issues

/activiti-rest not found

The README.me says that once the containers are deployed you can access the UI via:

http://<ip of docker host>:<container's 8080 port>/activiti-explorer

And the REST resources via:

http://<ip of docker host>:<container's 8080 port>/activiti-rest

I'm finding the Activiti Explorer UI is accessible at /activiti-explorer, but the REST endpoint is not available via /activiti-rest... I get:
image

I'm not all that familiar with the Java stack, but from looking at the Dockerfile and assets/ directory it looks like if one works then the other should too. Can you help me figure out what's wrong?

After BPMDB container restart actviti doesn't pick new db connection settings

When restarting container it is most likely will change its IP address. This means, that previously generated /assets/config/db.properties file will stick with outdated connection settings forever. I would propose to have a temporal db setting file (copy of initial /assets/config/db.properties) to substitute and copy to destination dir:

# This performs variable substitution on the db.properties file then copies into both the REST and explorer apps
function update_db_properties() {
  cp /assets/config/db.properties /tmp/db.properties
  sed 's/{{JDBC_DRIVER_CLASS}}/'"${JDBC_DRIVER_CLASS}"'/g' -i /tmp/db.properties
  sed 's/{{JDBC_URL}}/'"${JDBC_URL}"'/g' -i /tmp/db.properties
  sed 's/{{JDBC_USER}}/'"${DB_USER}"'/g' -i /tmp/db.properties
  sed 's/{{JDBC_PASSWORD}}/'"${DB_PASS}"'/g' -i /tmp/db.properties
  sed 's/{{DB_TYPE}}/'"${DB_TYPE}"'/g' -i /tmp/db.properties
  cp -f /tmp/db.properties /opt/tomcat/webapps/activiti-rest/WEB-INF/classes
  cp -f /tmp/db.properties /opt/tomcat/webapps/activiti-explorer/WEB-INF/classes
  rm /tmp/db.properties
}

Is there any way to enable HTTPS to Apache??

@cwoodcock Is there a way to enable it for HTTPS so it can be put behind a LB that talks in https for the internal apache redirects?

I am not able to find a variable to do that, but I see the config of the apache active:

<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
         This connector uses the NIO implementation that requires the JSSE
         style configuration. When using the APR/native implementation, the
         OpenSSL style configuration is required as described in the APR/native
         documentation -->
    <!--
    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
    -->

screen shot 2019-01-04 at 1 07 24 pm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.