Added storage src path
This commit is contained in:
parent
039436e58d
commit
8ce33b0676
2 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,7 @@ StateDirectory={{ host.data.unix_user }}
|
|||
EnvironmentFile={{ host.data.systemd_env }}
|
||||
WorkingDirectory=/photoprism
|
||||
RootDirectory={{ host.data.undocker_dst }}
|
||||
BindPaths={{ host.data.unix_home }}/storage:/photoprism/storage {{ host.data.unix_home }}/originals:/photoprism/originals {{ host.data.unix_home }}/import:/photoprism/import
|
||||
BindPaths={{ host.data.photoprism_storage_src }}:/photoprism/storage {{ host.data.photoprism_originals_src }}:/photoprism/originals {{ host.data.photoprism_import_src }}:/photoprism/import
|
||||
BindReadOnlyPaths=/etc/resolv.conf
|
||||
ExecStart=/photoprism/bin/photoprism start
|
||||
Restart=on-failure
|
||||
|
|
Reference in a new issue