-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volumes in compose #897
Comments
use case: if a volume is a folder for database (which is very likely for database container). Sys admins can implement back-up scripts on host to properly back up database. |
@soanni what if you just mount some host dirs to all workspaces that you start in the system? There's such a property in codenvy.pp |
@soanni The format is as follows: |
@eivantsov - let's get this added to the default .pp file on what the format is. The example that we provide didn't make it clear that it's hostPath:containerPath. |
Hello Codenvy team,
Today we discussed with Brad possibility to implement volumes in Codenvy compose environments.
Let me share with you my thoughts about how it can be possibly implemented.
/codenvy_volumes/workspace_1/lhq_conf bound to container 'lhq_web' /usr/local/conf
/codenvy_volumes/workspace_1/lhq_webapp bound to container 'lhq_web' /usr/local/tomcat/webapps
/codenvy_volumes/workspace_1/lhq_tomcat_log bound to container 'lhq_web' /usr/local/tomcat/logs
/codenvy_volumes/workspace_1/lhq_apache_log bound to container 'lhq_web' /usr/local/apache/logs
Or may be even better to create inside one more folder named under container's name like this:
/codenvy_volumes/workspace_1/lhq_web/lhq_conf bound to container 'lhq_web' /usr/local/conf
/codenvy_volumes/workspace_1/lhq_web/lhq_webapp bound to container 'lhq_web' /usr/local/tomcat/webapps
/codenvy_volumes/workspace_1/lhq_web/lhq_tomcat_log bound to container 'lhq_web' /usr/local/tomcat/logs
/codenvy_volumes/workspace_1/lhq_web/lhq_apache_log bound to container 'lhq_web' /usr/local/apache/logs
Thank you.
The text was updated successfully, but these errors were encountered: