All,
I am trying to create an OSv Tomcat container that deploys its WAR file
from an NFS directory (using Amazon EFS and EC2), but am unable to get this
configuration working. Is this something I'm doing wrong? Or is this not
an expected configuration?
When the server boots, I see an error message stating that "/mnt/app.war
could not be found".
My cloud-init file looks like the following (I have tried using both
Amazon's recommended and OSv's documented nfs options, neither works):
files:
/etc/some-app-configfile.conf: |
param1=blabla
param2=blabla
...
mounts:
- [ "fs-XXXXXXX.efs.us-east-1.amazonaws.com:/", "/mnt", "zfs",
"uid=1000,gid=1000", "0", "0" ]
httpserver:
access-allow: '*'
monitor-agent:
enable: false
run:
- DELETE: /file/usr/tomcat/webapps
recursive: true
op: DELETE
- PUT: /file/usr/tomcat/webapps
op: MKDIRS
permission: 0755
- PUT: /file/mnt/app.war
op: COPY
permission: 0644
destination: /file/usr/tomcat/webapps/app.war
--
You received this message because you are subscribed to the Google Groups "OSv
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.