Add TB_DATA / TB_DATA_ROOT to choose depot storage
The depot mount is now ${TB_DATA:-traildepot} (rootless) and
${TB_DATA_ROOT:-traildepot} (root). The default keeps the named volume;
a host path (containing a "/") switches to a bind mount.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c370bfdc5b
commit
8636d130a5
4 files changed
+20
-3
No files matched your search
@@ -29,7 +29,8 @@ services:
|
||||
- "${TB_PORT:-4000}:${TB_PORT:-4000}"
|
||||
volumes:
|
||||
# persist databases, config, uploads, secrets and backups
|
||||
- traildepot:/app/traildepot
|
||||
# TB_DATA: named volume (default) or a host path such as ./traildepot (see .env)
|
||||
- ${TB_DATA:-traildepot}:/app/traildepot
|
||||
# uncomment to develop migrations against the running instance
|
||||
# - ./migrations:/app/traildepot/migrations
|
||||
healthcheck:
|
||||
|
||||
Reference in new issue
Block a user