<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Where does Axon.ivy Engine 8 store deployed files?</title><link>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files</link><description>&lt;p&gt;Hi Ivy Team,&lt;/p&gt;
&lt;p&gt;Axon.ivy Engine 8 comes with different deployment behavior. To keep the state of Ivy Application running on Container, I need to know where does it store deployed files, to mount those paths into persistent volumes.&lt;/p&gt;
&lt;p&gt;In other word, how many places I need to mount into persistent volumes to make Axon.ivy works on Container environment?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 19 Jun 2020 02:10:28 -0400</lastBuildDate><item><title>Comment by Alex Suter on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files#4610</link><description>&lt;p&gt;Yes, we may should improve our docs.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Fri, 19 Jun 2020 02:10:28 -0400</pubDate><guid>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files#4610</guid></item><item><title>Comment by vinh_ on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files#4608</link><description>&lt;p&gt;Thanks Alex, these information is useful, I wonder if it could appear in the Administration &amp;gt; Deployment section, that section didn't mention about deployment on Container Environment.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vinh_</dc:creator><pubDate>Fri, 19 Jun 2020 02:09:47 -0400</pubDate><guid>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files#4608</guid></item><item><title>Comment by Alex Suter on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files#4606</link><description>&lt;p&gt;There is a really special handling about the &lt;code&gt;deploy&lt;/code&gt; directory on Axon.ivy Engine startup. It behaves slightly different when deploying while start up out of the &lt;code&gt;deploy&lt;/code&gt; directory. We calculate a hash out of the file to deploy, if its the same as before we won't deploy state into the database, we only copy the file to the right place (applications directory). This is especially designed for container environments. The long-term solution is, that we remove all state out of the database - but a long way to go ...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Fri, 19 Jun 2020 02:00:59 -0400</pubDate><guid>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files#4606</guid></item><item><title>Comment by vinh_ on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files#4604</link><description>&lt;p&gt;I'm aware of the state in System Database, which already stored. That's why I afraid of the deployed files state mismatch with the System Database.&lt;/p&gt;
&lt;p&gt;I'm interested in the &lt;code&gt;deploy&lt;/code&gt; directory. Is there any issue when it always deploy on start-up? How about existing Tasks, Cases, PMVs, modified global variables and other configurations?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vinh_</dc:creator><pubDate>Fri, 19 Jun 2020 01:56:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files#4604</guid></item><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files/4602</link><description>&lt;p&gt;It depends on how you want to use the Axon.ivy Docker Image.&lt;/p&gt;
&lt;p&gt;If your application with the ivy projects are part of your Docker image then you only need to put them in the &lt;code&gt;deploy&lt;/code&gt; directoy. They will be deployed on start up even if they are deployed - you don't have to care about anything.&lt;/p&gt;
&lt;p&gt;But you are free to mount the application directory (&lt;code&gt;/usr/lib/axonivy-engine-8/applications&lt;/code&gt;) into a persistent volume. Then you also could deploy for example over the REST-API without building a new image and starting a new container with your new application version.&lt;/p&gt;
&lt;p&gt;Keep in mind that there is also state about deployment in the system database.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Fri, 19 Jun 2020 01:48:33 -0400</pubDate><guid>https://answers.axonivy.com/questions/4600/where-does-axon-ivy-engine-8-store-deployed-files/4602</guid></item></channel></rss>