photoview: add config
This commit is contained in:
parent
56faa4323b
commit
ad36788772
12 changed files with 191 additions and 13 deletions
13
roles/photoview/files/photoview.service
Normal file
13
roles/photoview/files/photoview.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue