advantys/workflowgen:7.18.3-win-ltsc2019-onbuild
that can be used to easily customize any file contained in C:\inetpub\wwwroot
or C:\Program Files\Advantys\WorkflowGen
. All you need to do is create your own image with a Dockerfile that inherits from the onbuild variant and put the customized files in the Docker build context.web.config
file, customizes the banner, and adds a custom library..\inetpub\wwwroot
and .\Program Files\Advantys\WorkflowGen
paths must exist in order for the build to succeed. They don't have to have files in them, so they can be empty.docker-compose.yml
in your context directory:build
object in the workflowgen
service object.image
property. If you want to immediately update your Compose deployment on your local machine or immediately execute this deployment after the build, execute the following command, which will build your container in addition to running the services after the build:wfapps
folder and configure in IIS. You would perform the same steps as before, but also add a custom Docker CMD script that will configure the application in IIS.docker-entrypoint.ps1
: This is the main script that gets executed when you run a container. It handles the parsing of environment variables, configuration of authentication methods, etc.
monitor-services.ps1
: This script handles the monitoring of processes (IIS and Windows services), as well as gathering the logs of the container and redirecting them to the standard output.
healthcheck.ps1
: This handles the periodic check that indicates if WorkflowGen is working properly or not. This is defined in the WorkflowGen Dockerfile and is handled by the Docker engine.
*.psm1
: Various developed PowerShell modules available in the image.
ServiceMonitor.exe
: Binary executable provided by Microsoft. This is the main executable used by the monitoring script to check the state of a service. (You can find more information about ServiceMonitor on its GitHub page at microsoft/IIS.ServiceMonitor).
set-state.ps1
: Sets the state of the container, such as bringing the website offline or online.<YOUR_WEB_SERVICE_NAME>
with the name of your web service that you added in the wfapps
folder.ConvertTo-WebApplication
command will cause the start procedure to fail when trying to add an already-added web application. Consequently, you have to check that you haven't already added the application.
powershell
as an argument to the run command like so:powershell
argument will be executed by the Invoke-Expression
command and a new PowerShell command prompt will be displayed. If no arguments are passed, the default behavior is to start monitoring the services. Since the image already has a script for that, you only need to execute it.