photoview: add config

This commit is contained in:
Jef Roosens 2024-10-01 14:28:28 +02:00
parent 56faa4323b
commit ad36788772
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
12 changed files with 191 additions and 13 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description=Photo gallery for self-hosted personal servers
After=docker.service
Requires=docker.service
[Service]
Type=exec
WorkingDirectory=/etc/photoview
ExecStart=/usr/bin/docker compose up
ExecStop=/usr/bin/docker compose down
[Install]
WantedBy=multi-user.target