efs_csi_driver_enable parameter to true:convox rack params set efs_csi_driver_enable=true -r rackName
awsEfs for persistent storage and the volumes themselves in your convox.yml e.g.environment:
- PORT=3000
services:
web:
build: .
port: 3000
volumeOptions:
- awsEfs:
id: "efs-1"
accessMode: ReadWriteMany
mountPath: "/my/data/"
- awsEfs:
id: "efs-2"
accessMode: ReadOnlyMany
mountPath: "/my/read-only/data/"
- emptyDir:
id: "test-vol"
mountPath: "/my/test/vol"
convox rack update 3.18.2 -r rackName