I have a workspace with the following config
{
"environments": {
"default": {
"machines": {
"db": {
"attributes": {
"memoryLimitBytes": "536870912"
},
"servers": {},
"agents": [
"org.eclipse.che.terminal",
"org.eclipse.che.exec"
]
},
"dev-machine": {
"attributes": {
"memoryLimitBytes": "2684354560"
},
"servers": {},
"agents": [
"org.eclipse.che.ssh",
"org.eclipse.che.ws-agent",
"org.eclipse.che.terminal",
"org.eclipse.che.exec"
]
}
},
"recipe": {
"type": "compose",
"content": "services:\n db:\n image: 'terrywbrady/dspacedb:latest'\n mem_limit: 1073741824\n dev-machine:\n image: 'terrywbrady/dspace:latest'\n mem_limit: 2147483648\n depends_on:\n - db\n",
"contentType": "application/x-yaml"
}
}
},
...
}
I can start my workspace, build code, and deploy to tomcat. Data is written to postgres.
When I halt my workspace and then restart it, all of my built content is gone.
How can I declare volumes that will persist from workspace session to workspace session?