Whether you are downgrading, testing a specific version, or need to upgrade to a version other than the latest version, you can use the docker-compose.yml file to handle this.
Under the Tomcat section, you will see the image:
image: continuumsecurity/iriusrisk-prod:tomcat-4
Where "4" works as if using regex set as "4.*" so this will pull the latest version 4.X.X
tomcat:
environment:
- IRIUS_DB_URL=jdbc\:postgresql\://<ip>\:5432/iriusprod?user\=<user>&password\=<password>
- IRIUS_EDITION=saas
- IRIUS_EXT_URL=http\://<domain>.iriusrisk.com
- grails_env=production
- STARTLEFT_URL=http://startleft:8081
- IRIUS_JWT_PRIVATE_KEY_PATH=/etc/irius/ec_private.pem
image: continuumsecurity/iriusrisk-prod:tomcat-4
container_name: iriusrisk-tomcat
To set a specific version, simply edit the version to be specific:
tomcat:
environment:
- IRIUS_DB_URL=jdbc\:postgresql\://<ip>\:5432/iriusprod?user\=<user>&password\=<password>
- IRIUS_EDITION=saas
- IRIUS_EXT_URL=http\://<domain>.iriusrisk.com
- grails_env=production
- STARTLEFT_URL=http://startleft:8081
- IRIUS_JWT_PRIVATE_KEY_PATH=/etc/irius/ec_private.pem
image: continuumsecurity/iriusrisk-prod:tomcat-4.X.X
container_name: iriusrisk-tomcat
Example:
image: continuumsecurity/iriusrisk-prod:tomcat-4.18.1
Then restart the Docker Containers:
docker-compose down && docker-compose up -d
You can verify the version by using the steps in our "How To Check Docker/IriusRisk" Article
You can find the versions available from our "Release Notes"
Comments
0 comments
Article is closed for comments.