...
- Now that the Joget Operator has been installed, login to the OpenShift console as a normal user.
- Browse to Projects and click on the Create Project button. Enter a name and click on Create.
- As a prerequisite, you will need to deploy either a MySQL or MariaDB database in the project.
The fastest way to deploy MySQL would be to use the OpenShift CLI e.g.:
Code Block # deploy persistent mysql export DB_APP_NAME=joget-mysql export MYSQL_DATABASE=jwdb export MYSQL_USER=joget export MYSQL_PASSWORD=joget oc new-app openshift/mysql-persistent --name $DB_APP_NAME -p DATABASE_SERVICE_NAME=$DB_APP_NAME -p MYSQL_USER=$MYSQL_USER -p MYSQL_PASSWORD=$MYSQL_PASSWORD -p MYSQL_DATABASE=$MYSQL_DATABASE
- Alternatively, you can deploy using the OpenShift Console. For MySQL, you can use either the public docker hub image centos/mysql-57-centos7, or the certified one from the Red Hat Registry registry.redhat.io/rhscl/mysql-57-rhel7.
- To access images from the Red Hat Registry, you will need to create a Secret containing a valid Red Hat login. If you do not have an account, you can acquire one by registering for one of the following options:
- Red Hat Developer Program. This account gives you access to developer tools and programs.
- 30-day Trial Subscription. This account gives you a 30-day trial subscription with access to select Red Hat software products.
- Browse to Workloads > Secret, select Image Pull Secret from the Create dropdown and key in the Red Hat registry server and login information e.g.
- Registry Server Address: registry.redhat.io
- Username: Red Hat login username
- Password: Red Hat login password
- Browse to the project, and click on Add > Deploy Image.
- For MySQL, enter either centos/mysql-57-centos7 or registry.redhat.io/rhscl/mysql-57-rhel7 for the Image Name and click on the Search icon.
- Key in the following configuration and click on Deploy.
- Name: joget-mysql
- Environment Variables:
- MYSQL_DATABASE: jwdb
- MYSQL_USER: joget
- MYSQL_PASSWORD: joget
- Click on the name to verify that the MySQL database has been deployed successfully.
Info IMPORTANT NOTE: By default, the data in this MySQL image is not persistent across container restarts. You will need to mount the volume to make the data persistent. Alternatively, deploy a persistent MySQL using a template using the OpenShift CLI described earlier.
...