Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Docker (www.docker.com) is an open platform making it easier to create, deploy, and run applications by using containers是一个开源的平台,用于利用容器方便地创建、部署和运行应用.


This article describes the steps required to run Joget Workflow on Docker. With Docker, you can easily deploy Joget Workflow with just a single command. Public Joget Workflow Docker images are hosted in the Docker Hub repository 本文介绍了在Docker上运行Joget Workflow的步骤. 通过Docker, 您可以通过简单的命令轻松部署Joget Workflow. 公共Joget Workflow镜像存放在Docker Hub仓库 (https://hub.docker.com/u/jogetworkflow/)

...

先决条件:

...

安装 Docker

Install Docker following the docs at 请按照文档安装 Docker https://docs.docker.com/linuxengine/installation. There are instructions for 分别有 Linux, Windows or Mac或 Mac安装指南.

...

选择 1:

...

用内嵌的 MySQL 运行Joget Workflow

最简单的方式是运行包含 MySQL 数据库的Joget Workflow

...

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

Code Block
languagebash
docker run -d -p 8080:8080 -v /var/lib/mysql --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

...

选择 2:

...

用独立的 MySQL 和 数据卷

为了更好的弹性和便于管理, 您可以用独立的数据库和共享的数据卷运行 Joget Workflow

...

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

 

Code Block
languagebash
# create a volume container for shared data
docker create -v /opt/joget/wflow --name jogetdata ubuntu /bin/truevolume create jogetdata

# 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.67

# 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-frommount source=jogetdata,target=/opt/joget/wflow jogetworkflow/joget-enterprise

Browse to the installation at 安装后浏览 http://your_docker_host:8080/jw

...