Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
This article describes the steps required to run Joget on Docker. With Docker, you can easily deploy Joget with just a single command. Public Joget Docker images are hosted in the Docker Hub repository ( https://hub.docker.com/u/jogetworkflow/ )
Install Docker following the docs at https://docs.docker.com/engine/installation/ There are instructions for Linux, Windows or Mac.
The easiest way is to run a Joget container which also contains a MySQL database:
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. Browse to the installation at http://your_docker_host:8080/jw
For better flexibility and manageability, you can run a Joget container separately from the database and shared data volume:
# create a volume container for shared data docker volume 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.7 # run a Joget 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 --mount source=jogetdata,target=/opt/joget/wflow jogetworkflow/joget-enterprise
** do note that without specifying any tag, jogetworkflow/joget-enterprise will default to the "latest" tag so it is a good practice to fix the tag to your preferred version.
Browse to the installation at http://your_docker_host:8080/jw
You can run Joget using the docker-compose yaml template file below:
Either use docker compose up -d command if you are using docker-compose.yaml filename or docker compose -f {yourcomposefilename} up -d if you set a custom filename for your yaml file. You can then browse to the installation at http://your_docker_host:8080/jw
Once the docker instance is up, you may want to obtain the MAC address of the docker instance by using the following command.
sudo docker inspect --format='{{range .NetworkSettings.Networks}}{{.MacAddress}}{{end}}' joget
After you obtain the MAC address, you may preserve the MAC address the next time you create the same Joget instance again to ensure that Joget license tied to it continue to be valid.
docker run -ti --mac-address 00:00:00:00:00:11 -d -p 8080:8080 -v /var/lib/mysql --name joget3 jogetworkflow/joget-enterprise