Server compose: match SpineS's real mounts

This commit is contained in:
sarah committed 2026-09-24 22:10:18 +02:00
1 parent b896a81a64
commit 0d564982dc
2 files changed
+21 -42

No files matched your search

+7 -9
View File
@@ -5,11 +5,10 @@
#
# Paths are absolute host paths on the server: Portainer's copy of the repo
# lives inside Portainer (on RibS), so "./something" wouldn't point at SpineS.
# Set these as stack environment variables in Portainer:
# NotesDir the notes directory to serve (required)
# SaraTagDir SaraTag's .saratag directory (required)
# SaraViewDir where SaraView's config and data live
# (default /DATA/AppData/SaraView, the ZimaOS convention)
# The defaults are SpineS's; override them as stack environment variables:
# SaraViewDir SaraView's config (SaraViewConf.toml) and Data directory
# FilesDir the files SaraView serves, mounted at /data/files
# (the Roots in SaraViewConf.toml point inside it)
services:
saraview:
build: .
@@ -21,8 +20,7 @@ services:
ports:
- "8420:8420"
volumes:
- ${SaraViewDir:-/DATA/AppData/SaraView}/SaraViewConf.toml:/App/Backend/SaraViewConf.toml:ro
- ${SaraViewDir:-/DATA/AppData/SaraView}/Data:/data/SaraViewData
- ${NotesDir:?Set NotesDir to the notes directory on the server}:/data/notes:ro
- ${SaraTagDir:?Set SaraTagDir to the .saratag directory on the server}:/data/SaraTag/.saratag:ro
- ${SaraViewDir:-/media/ZimaOS-HD/AppData/SaraView}/SaraViewConf.toml:/App/Backend/SaraViewConf.toml:ro
- ${SaraViewDir:-/media/ZimaOS-HD/AppData/SaraView}/Data:/data/SaraViewData
- ${FilesDir:-/media/ZimaOS-HD/Storage/Files}:/data/files
restart: unless-stopped