[cf-dev] #java #springboot

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[cf-dev] #java #springboot

rajkinra
Please advise on the best approach to specify an external directory folder for use by springboot application to store business data (such as images).  The following attempt to do so far did not work:  By adding it to the User Provided JAVA_OPTS Environment Variable (using the syntax:  -cp /myfoo ).  This did not work because PCF start command adds an additional -cp entry with the $PWD present working directory that appears to override (and mask) the user provided value of /myfoo.  
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8646) | [hidden email] | [hidden email] | Mute This Topic | New Topic
Mute #java | Mute #springboot
Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] #java #springboot

Warren, Paul
You should take a look at CloudFoundry's Volume Service feature.  This feature allows you to bind NFS, or SMB volumes into your application containers.  

You may also want to take a look at Spring Content.  A project that allows you to quickly and easily create headless Content Services (with Spring Boot if you would like) for managing unstructured data such as; images, documents and movies, in any of a number of different types of storage including the filesystem (that you would use with the Volume Service feature).

You can reach out to the Volume Service team on slack #cf-persistence

HTH
_Paul 
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8647) | [hidden email] | [hidden email] | Mute This Topic | New Topic
Mute #java | Mute #springboot
Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_