32 lines
742 B
Plaintext
32 lines
742 B
Plaintext
[Unit]
|
|
Description=Photoview
|
|
Wants=photoview-db.service
|
|
After=photoview-db.service
|
|
|
|
[Container]
|
|
ContainerName=photoview
|
|
Pod=photoview.pod
|
|
Image=docker.io/photoview/photoview:2
|
|
AutoUpdate=registry
|
|
|
|
EnvironmentFile=/mnt/data/containers/photoview/.env.photoview
|
|
|
|
Volume=/etc/localtime:/etc/localtime:ro
|
|
Volume=/etc/timezone:/etc/timezone:ro
|
|
Volume=/mnt/data/containers/photoview/storage:/home/photoview/media-cache:rw
|
|
Volume=/mnt/photo/Library:/photos:ro
|
|
|
|
Label=homepage.group=Media
|
|
Label=homepage.name=Photoview
|
|
Label=homepage.icon=photoview.png
|
|
Label=homepage.href=https://photos.inkletblot.com
|
|
Label=homepage.description="Photo Library"
|
|
|
|
[Service]
|
|
Restart=always
|
|
TimeoutStartSec=900
|
|
SuccessExitStatus=0 143
|
|
|
|
[Install]
|
|
WantedBy=default.target
|