Camunda: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 122: Line 122:
| valign="top" |
| valign="top" |
* [https://docs.camunda.org/manual/7.16/reference/deployment-descriptors/tags/process-engine/ Camunda Process Engine Configuration]
* [https://docs.camunda.org/manual/7.16/reference/deployment-descriptors/tags/process-engine/ Camunda Process Engine Configuration]
* [https://docs.camunda.org/get-started/spring-boot/project-setup/ Camunda Setup a Spring Boot Project]
* [https://dzone.com/articles/running-spring-boot-application-with-embedded-camu Spring Boot Project With Camunda]
* [https://dzone.com/articles/running-spring-boot-application-with-embedded-camu Spring Boot Project With Camunda]
* [https://docs.camunda.org/manual/latest/user-guide/spring-boot-integration/configuration/#camunda-engine-properties Camunda Engine Properties]
* [https://docs.camunda.org/manual/latest/user-guide/spring-boot-integration/configuration/#camunda-engine-properties Camunda Engine Properties]

Revision as of 01:35, 3 February 2022

tar -xzvf camunda-modeler-4.12.0-linux-x64.tar.gz
cd camunda-modeler-4.12.0-linux-x64/
./camunda-modeler

docker-compose.yml

version: '3.4'

services:
  academia-poc:
    image: camunda/camunda-bpm-platform:run-latest
    container_name: academia_poc
    restart: always
    ports:
      - 127.0.0.1:15010:8080
    volumes:
      - ./h2:/app/camunda-h2-default
      - ./forms:/app/client/xc-tasklist/forms

camunda.dev.chorke.org

vim /etc/hosts
#127.0.0.1       camuda.dev.chorke.org

mkdir mkdir /var/log/apache2/camuda.dev.chorke.org

cat <<EOF >> /etc/apache2/sites-enabled/00-camuda.dev.chorke.org.conf
<VirtualHost *:80>
    ProxyRequests Off
    ProxyPreserveHost On
    AllowEncodedSlashes Off

    ServerAdmin [email protected]
    ServerAlias camunda.dev.chorke.org
    ServerName www.camunda.dev.chorke.org

    <Location />
        Order Allow,Deny
        Allow from all
        ProxyPass http://127.0.0.1:15010/ nocanon
        ProxyPassReverse http://127.0.0.1:15010/
    </Location>

    ErrorLog ${APACHE_LOG_DIR}/camunda.dev.chorke.org/error.log
    CustomLog ${APACHE_LOG_DIR}/camunda.dev.chorke.org/access.log combined
</VirtualHost>
EOF

sudo apachectl -t
sudo systemctl restart apache2
http://camunda.dev.chorke.org/camunda/swaggerui/#/Process%20Definition/getProcessDefinitions
http://camunda.dev.chorke.org/camunda/engine-rest/deployment/create
http://camunda.dev.chorke.org/camunda/app/tasklist/default/
http://camunda.dev.chorke.org/camunda/engine-rest/
http://camunda.dev.chorke.org/camunda/swaggerui/
http://camunda.dev.chorke.org/ui/
http://camunda.dev.chorke.org/

Invoking Java

<repositories>
    <repository>
        <id>camunda-bpm-artifactory</id>
        <name>camunda-bpm-artifactory</name>
        <url>https://camunda.jfrog.io/artifactory/public/</url>
    </repository>
</repositories>

Knowledge

sudo snap install docker
sudo apt  install docker-compose
docker login hub.chorke.org -u academia -p sadaqah!
docker pull camunda/camunda-bpm-platform:run-latest
docker run -d --name camunda -p 8080:8080 camunda/camunda-bpm-platform:run-latest

References