mirror of
https://git.srhtnin.garden/sarah/SaraView.git
synced 2026-10-13 18:28:14 +02:00
Moving to Gitea.
This commit is contained in:
1 parent
b06231ea5e
commit
b896a81a64
4 files changed
+74
-90
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# The server deployment (SpineS), run as a Portainer stack straight from
|
||||
# this repo: Portainer clones it and builds the image from the Dockerfile on
|
||||
# every deploy, so there's no image registry involved. See README.md,
|
||||
# "Running on the Server".
|
||||
#
|
||||
# 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)
|
||||
services:
|
||||
saraview:
|
||||
build: .
|
||||
image: saraview:server
|
||||
# Always build from the checked-out commit instead of looking for a
|
||||
# prebuilt image anywhere.
|
||||
pull_policy: build
|
||||
container_name: SaraView
|
||||
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
|
||||
restart: unless-stopped
|
||||
Reference in new issue
Block a user