mirror of
https://git.srhtnin.garden/sarah/SaraView.git
synced 2026-10-14 10:38:11 +02:00
Server compose: match SpineS's real mounts
This commit is contained in:
1 parent
b896a81a64
commit
0d564982dc
2 files changed
+21
-42
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user