IBM Workflow Process Service Trial includes an authoring and runtime environment for a single workflow process.
Container Runtime | Version |
---|---|
Docker | 19.03 or later |
Docker Compose | 1.27.3 or later |
CPU | Memory | Disk |
---|---|---|
At least 0,5 CPU | At least 2 GB | At least 5 GB |
Operating system | Instructions |
---|---|
Ubuntu | Install Docker Engine on Ubuntu, then Install Docker Compose |
Red Hat | Install Docker Engine on CentOS, then Install Docker Compose |
SUSE Linux | Install Docker Engine from binaries, then Install Docker Compose |
Mac | Install Docker Desktop on Mac, then change the default resource limitation (where memory is limited to 2 GB) for the Docker Desktop. Go to Docker -> Preferences -> Resources and ensure that you have at least 2 CPUs, 3.00 GB memory, and 1 GB swap. |
Windows | Install Docker Desktop on Windows. If you are using hyper-V, remember to increase the hyper-V memory to 3G. If you are using WSL, make sure you have enough free memory, at least 3G free memory. |
Next, obtain an IBM Cloud account if you don't have one and follow the guide to create an API key to access the IBM Cloud Container Registry.
| Mac | Install Docker Desktop on Mac, then change the default resource limitation (where memory is limited to 2 GB) for the Docker Desktop. Go to Docker -> Preferences -> Resources and ensure that you have at least 2 CPUs, 3.00 GB memory, and 1 GB swap. To use Chrome on Mac, enter chrome://flags/#allow-insecure-localhost
in the Chrome address bar, find the setting to allow invalid certificates for resources loaded from localhost, set it to Enabled, and restart Chrome. |
| Windows | Install Docker Desktop on Windows |
Use the API key to log in to the IBM Cloud Container Registry by running the following Docker command:
docker login -u iamapikey -p <apikey> icr.io
Replace <apikey>
with your API key.
For offline installation, see offline.md.
-
Create a folder on your local computer, such as
sample/folder
, where you will run Docker Compose. -
In the new folder, create a new file named
docker-compose.yml
. Copy the contents of the docker-compose.yml file into the new file on your local computer and save it. -
Optional: By default, the Workflow Process Service Trial environment uses localhost. If you want to access IBM Workplace or Business Automation Studio from a web browser that's not running on the Docker host, go to Customizing the hostname.
-
Run
docker-compose up
. Don't interrupt this command when it's running.You can add the -d parameter to keep it running in the background. Always use this parameter on Mac.
Running in the background:
cd <sample folder you created>
docker-compose up -d
Running interactively:
cd <the folder you created>
docker-compose up
After you run the docker-compose up
command, you can monitor the output of the command. It pulls the Trial image from the registry and then starts Workflow Process Service.
The server needs time to initialize. It's ready when you see messages such as:
The system maintenance monitor is determining if maintenance is required. The system is in an OK state.
To see the logs, run:
docker logs pc -f
The default value for the container name is pc
. If you change the container_name property in the docker-compose.yml
file before you start the environment, replace pc with the actual container name you defined.
Note: To use Chrome on Mac, see Can't access Workplace or Business Automation Studio using Chrome on Mac
section in troubleshooting .
To get the URLs that you can access, as well as the admin user name and password, run:
docker exec pc /scripts/post-deployment.sh
Keep a copy of the admin password. In keeping with IBM security policy, the password is generated for you. The default username is admin.
Follow the links in the output of the command to access Workplace and Business Automation Studio. The default URLs are:
- Workplace: https://localhost:9443/Workplace
- Studio: https://localhost:9443/BAStudio
- Process Admin Console: https://localhost:9443/ProcessAdmin
Note: The embedded database provided by Workflow Process Service Trial doesn't support data encryption, so don't store any sensitive data.
There is a predefined process instance running in the Workflow Process Service Trial container. To see it, go to https://<EXTERNAL_HOSTNAME>:<EXTERNAL_HTTPS_PORT>/Workplace
and check the process instance status. The process instance will be "overdue."
The server is configured by default with the following predefined users and groups:
Group "employee", members: employee1
employee2
employee3
Group "manager", members: manager1
manager2
manager3
The passwords for these users are randomly generated, they are the same with admin password.
To stop the environment, run:
docker-compose stop
To start the environment, run:
docker-compose start
To restart the environment, run:
docker-compose restart
To customize the Workflow Process Server Trial, including persisting data and adding full text search, see Customizing.
For any issues, see Troubleshooting.