Container
Installation guidance for running Fortified ID Password Reset in a container.
Password Reset is distributed as a Docker image. This page covers running a basic instance, mounting customer configuration, and verifying the service in container environments.
Prerequisites
Section titled “Prerequisites”- Docker installed on the host.
- Access credentials to the Fortified ID image registry (
fortifiedid.jfrog.io).
Follow the shared container installation guide to authenticate to the registry.
Pull the image
Section titled “Pull the image”docker pull fortifiedid.jfrog.io/docker/fortifiedid/pwdreset:<version>Replace <version> with the target release.
Run the container
Section titled “Run the container”The minimal command to start a single node:
docker run -p 8080:8080 --detach --name pwdreset \ fortifiedid.jfrog.io/docker/fortifiedid/pwdreset:<version> \ -c Node config/config.json| Argument | Description |
|---|---|
-c |
Direct system output to stdout. |
Node |
Start the Node module. |
config/config.json |
Configuration file path, relative to SERVER_HOME inside the container. |
Mount custom configuration
Section titled “Mount custom configuration”Mount your customer directory to provide configuration, modules, and other runtime files:
docker run -p 8080:8080 --detach --name pwdreset \ -e JVM_CONFIG=customer \ -v /path/to/customer:/opt/fortified/servers/pwdreset-server/customer \ fortifiedid.jfrog.io/docker/fortifiedid/pwdreset:<version> \ -c Node customer/config/config.jsonReplace /path/to/customer with the customer directory on the host. Run this command instead of the minimal command above, or stop and remove the existing pwdreset container first.
The customer JVM configuration profile loads options from bin/customer/java.config inside the container:
-Dlog4j.configurationFile=customer/config/log4j2.xml-Dcustomer_home=customerProvide config/config.json and config/log4j2.xml in the mounted customer directory. The customer_home property makes the directory available to configuration expressions such as ${system.customer_home}.
Verify installation
Section titled “Verify installation”Check the log to confirm the server bootstrapped successfully:
docker logs -f pwdresetThen open http://localhost:8080/pwdreset in a browser to verify that the service is running.