You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Docker (www.docker.com) 是一个开源的平台,用于利用容器方便地创建、部署和运行应用.


本文介绍了在Docker上运行Joget Workflow的步骤. 通过Docker, 您可以通过简单的命令轻松部署Joget Workflow. 公共Joget Workflow镜像存放在Docker Hub仓库 (https://hub.docker.com/u/jogetworkflow/)

Prerequisite: Install Docker

Install Docker following the docs at https://docs.docker.com/engine/installation. There are instructions for Linux, Windows or Mac.

Option 1: Run Joget Workflow with Embedded MySQL

The easiest way is to run a Joget Workflow container which also contains a MySQL database:

docker run -d -p 8080:8080 --name joget jogetworkflow/joget-enterprise

With just a single command, you will have an entire running installation of Joget Workflow. Browse to the installation at http://your_docker_host:8080/jw

Option 2: Run Joget Workflow with Separate MySQL and Data Volume

For better flexibility and manageability, you can run a Joget Workflow container separately from the database and shared data volume:

 

# create a volume container for shared data
docker create -v /opt/joget/wflow --name jogetdata ubuntu /bin/true

# run a MySQL database container
docker run -d --name jogetdb -p 3306:3306 -e MYSQL_ROOT_PASSWORD=jwdb -e MYSQL_USER=joget -e MYSQL_PASSWORD=joget -e MYSQL_DATABASE=jwdb mysql:5.6

# run a Joget Workflow container
docker run -d --link jogetdb:jwdb --name joget -p 8080:8080 -e MYSQL_HOST=jwdb -e MYSQL_DATABASE=jwdb -e MYSQL_PORT=3306 -e MYSQL_USER=joget -e MYSQL_PASSWORD=joget --volumes-from jogetdata jogetworkflow/joget-enterprise

Browse to the installation at http://your_docker_host:8080/jw


 

  • No labels