Starting containers by retrieving parameters from container environment variables
If you do not use Vault, we can retrieve parameters from container environment variables (CONFIGURE_MODE=EnvVariables). For example, if we are using docker run, we can pass all parameters through command line, or if we are setting up a pipeline, we can set the pipeline to provide the parameters. By using this approach, you need to:
- Be familiar with WebSphere Commerce Docker configuration logic and Docker parameters.
- Configure the host names and certifications of related components.
If we are going to manage a multi-tenant environment, it is suggested you use start Vault configuration mode (CONFIGURE_MODE=Vault).
To start EnvVariables configuration mode, edit preConfigure.sh to include the following:
docker run -it -e LICENSE=accept \ -e CONFIGURE_MODE=EnvVariables -e <Parameter1>=<Value1> -e <Parameter2>=<Value2> <Docker image>
Note: If you use this method and do not use the default host names, ensure that our custom host name matches the SubjectAlternativeNames in related certifications in other containers.
- Starting Transaction server Docker container by retrieving parameters from container environment variables
Learn about how to start Transaction server Docker container by specifying CONFIGURE_MODE=EnvVariables.- Starting Search server Docker container by retrieving parameters from container environment variables
Learn about how to start Search server Docker container by specifying CONFIGURE_MODE=EnvVariables.- Starting Store server Docker container by retrieving parameters from container environment variables
Learn about how to start Store server Docker container by specifying CONFIGURE_MODE=EnvVariables.- Starting Web server Docker container by retrieving parameters from container environment variables
Learn about how to start Web server Docker container by specifying CONFIGURE_MODE=EnvVariables.- Starting Customization server Docker container by retrieving parameters from container environment variables
Learn about how to start Customization server Docker container by specifying CONFIGURE_MODE=EnvVariables.