Camunda: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 20: Line 20:


==camunda.dev.chorke.org==
==camunda.dev.chorke.org==
<source lang="apache" highlight="11-16">
<source lang="apache" highlight="12-17">
mkdir mkdir /var/log/apache2/camuda.dev.chorke.org
cat <<EOF >> /etc/apache2/sites-enabled/00-camuda.dev.chorke.org.conf
cat <<EOF >> /etc/apache2/sites-enabled/00-camuda.dev.chorke.org.conf
<VirtualHost *:80>
<VirtualHost *:80>
Line 37: Line 38:
         ProxyPassReverse http://127.0.0.1:15010/
         ProxyPassReverse http://127.0.0.1:15010/
     </Location>
     </Location>


     ErrorLog ${APACHE_LOG_DIR}/camuda.dev.chorke.org/error.log
     ErrorLog ${APACHE_LOG_DIR}/camuda.dev.chorke.org/error.log
Line 43: Line 43:
</VirtualHost>
</VirtualHost>
EOF
EOF
sudo apachectl -t
sudo systemctl restart apache2
</source>
</source>



Revision as of 23:15, 26 January 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:80
    volumes:
      - ./h2:/app/camunda-h2-default
      - ./forms:/app/client/xc-tasklist/forms

camunda.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 camuda.dev.chorke.org
    ServerName www.camuda.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}/camuda.dev.chorke.org/error.log
    CustomLog ${APACHE_LOG_DIR}/camuda.dev.chorke.org/access.log combined
</VirtualHost>
EOF

sudo apachectl -t
sudo systemctl restart apache2

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

References