I am currently facing an issue with deploying a custom Docker image to our Azure server. Here’s a brief overview of the problem:
Could someone please assist me with the following:
Thank you in advance for your help. Looking forward to your suggestions and solutions.
- Environment Variables: I need to pass environment variables such as the database host, username, and password to our custom Docker image. Specifically, these variables need to be accessible in /var/www/data/configi-intinrel.php. I am unsure of the best way to do this and would appreciate guidance on the correct approach.
- Custom Changes and Volume Mounting: The way changes are currently managed for the EspoCRM instance involves updating the entire www folder. I am exploring if there is a more efficient method to make and manage these changes. Additionally, I would like to know if it is possible to mount a volume to preserve these changes without having to overwrite the whole directory each time.
Could someone please assist me with the following:
- How to properly pass environment variables to the custom Docker image?
- Recommendations for managing changes to the EspoCRM www folder, potentially using Docker volumes or other methods?
Thank you in advance for your help. Looking forward to your suggestions and solutions.