Keep your data through updates
HolyCode keeps its data, local cache and projects in three host folders.
Persistent host folders and their container paths| On your host | Inside HolyCode |
|---|
Data and credentials./data/opencode | /home/opencode |
|---|
Local cache./local-cache/opencode | /home/opencode/.cache/opencode |
|---|
Projects./workspace | /workspace |
|---|
Credentials and cache
Claude credentials persist at /home/opencode/.claude/.credentials.json. Keep the cache on local disk. For CIFS or SMB mounts, use nobrl,mfsymlinks.
Back up before updating
Stop the stack. Snapshot all three volumes. Update the pinned image and matching Chromium policy, then pull, start and verify your workflows.
docker compose stop
# Snapshot ./data/opencode, ./local-cache/opencode, and ./workspace
# Update the image tag and matching Chromium policy
docker compose pull
docker compose up -d
A snapshot rollback restores the previous image and untouched pre-upgrade volumes. It does not claim an in-place database downgrade. Keep those pre-upgrade copies untouched.