Dear Ivy Team In your example setup, the ivysystemdb exists as an image and is therefore created from scratch every time docker-compose is run. That means you can run the same image as many times as you want. If we do that in our Dev environment, we are running into the versioning problem (I think), which prevents to rerun of the same image multiple times (Error : The process model version '1' of process model 'luz_web' of application 'luz' is currently unavailable because of maintenance.) Since our image does the installation as well, it can't be "used" more then one time, which means for each restart we would need a new build of a new version of our app. Or do I miss something ? Best regards John asked 15.07.2019 at 12:20 John Moser |
Hello @John Moser The systemdb in our docker-compose example are only created from scratch at the first If there is always a new systemdb from scratch, you will never run in versioning problems. Prior to 7.4 you run in version problems when you have the same systemdb for new iar deployment (new image, which does not contain the old iar), but this has been fixed with 7.4. You can restart your axonivy container as many times as you want - you can also create new containers from the same image as many times as you want. If you want to deploy a new iar you will need a new image. answered 07.08.2019 at 03:55 Alex Suter ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 15.07.2019 at 12:20
Seen: 43,521 times
Last updated: 26.08.2019 at 10:20
Hi John What version of Ivy and the sample are you using? In the newest 7.4 Dev version we addressed exactly this problem: - XIVY-3082: Support ivyProjects in application directory located in project specific Docker Image
Have a look at this sample: https://github.com/ivy-samples/docker-samples/tree/master/ivy-deploy-app How does your docker-compose.yml and Dockerfile look like? How do you deploy your app?
@Andreas : I've went through all the documentation. The point is if Ivy IAR (same version) installation is reentrant or not and if not, why ?
How do you run docker-compose? What are your build steps? I can't replicate your issue.
To get a new DB from scratch you would need to run 'docker-compose down'. Otherwise you are reusing your DB container.
What do you mean with 're-entrant'? If the same version of a IAR can be deployed multiple times? Yes, it can.
If you are NOT using the newest dev version: Are you specifying your application folder outside the container? With versions 7.2.1 and 7.3.1 you run into problems if you try to redeploy a project where the app folder didn't include the old project (and files).
Hi Andreas, I've finally managed to achieve my goal. I have currently the same version in the application folders as in deploy folder. So the images get as large as 3.5 GB. The next step will be to integrate 7.4 as soon as possible to avoid to have the "application" folder in the image (I know, it could be external but I prefer to have a self contained image).