Proper way to rebuild AppWorks 20.2 docker containers
Options
Hi I am currently using the AppWorks 20.2 release in a containerized environment (just docker running in a VM). I'm able to get the stack up just fine and everything is working however I am unclear on what to do when it comes to rebuilding the containers (for example if i changed my secrets, or adding a new CAP). The cloud deployment guide says I should rebuild with
I also tried to stop the containers and remove them, however this causes ldap to not start up correctly indicating that startup-scripts already exist. The only way I have been able to achieve a rebuild is by removing all containers and volumes. I would think this is not the intended way to do things as the persistent volumes are pretty critical to maintaining data between rebuilds. Most of the example commands in the cloud guide also say to use
</code><span><b><pre class="CodeBlock"><code>docker-compose -f docker-compose.yml build
which works just fine however when I attempt to redeploy with docker-compose up using docker-compose -f docker-compose.yml -f docker-compose-openldap.yml -f docker-compose-postgres.yml up -d
docker tells me that all containers are up to date. I also tried to stop the containers and remove them, however this causes ldap to not start up correctly indicating that startup-scripts already exist. The only way I have been able to achieve a rebuild is by removing all containers and volumes. I would think this is not the intended way to do things as the persistent volumes are pretty critical to maintaining data between rebuilds. Most of the example commands in the cloud guide also say to use
docker-compose stop
directly, however this only functions on the appworks service. Is it the intent that ldap and databse containers should never be rebuilt? This does make sense to me however I am not sure how to deploy the new container for appworks as attempting to do so results in an orphaned container (for ldap and databse) message and a failure for appworks to start up. 0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management