update TheLounge to use a named volume
This commit is contained in:
parent
6c08624461
commit
e949e3935b
2 changed files with 3 additions and 3 deletions
2
quadlets/thelounge/data.volume
Normal file
2
quadlets/thelounge/data.volume
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Volume]
|
||||||
|
VolumeName=thelounge-data
|
|
@ -1,6 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=IRC client
|
Description=IRC client
|
||||||
After=caddy.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
@ -15,8 +14,7 @@ ContainerName=thelounge
|
||||||
HostName=thelounge
|
HostName=thelounge
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
|
|
||||||
Network=
|
|
||||||
PublishPort=9000
|
PublishPort=9000
|
||||||
|
|
||||||
Volume=/volumes/books/thelounge/var/opt/thelounge:/var/opt/thelounge
|
Volume=thelounge-data:/var/opt/thelounge
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue