update TheLounge to use a named volume

This commit is contained in:
redbeardymcgee 2024-12-01 13:24:10 -06:00
parent 6c08624461
commit e949e3935b
2 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,2 @@
[Volume]
VolumeName=thelounge-data

View file

@ -1,6 +1,5 @@
[Unit]
Description=IRC client
After=caddy.service
[Service]
Restart=on-failure
@ -15,8 +14,7 @@ ContainerName=thelounge
HostName=thelounge
AutoUpdate=registry
Network=
PublishPort=9000
Volume=/volumes/books/thelounge/var/opt/thelounge:/var/opt/thelounge
Volume=thelounge-data:/var/opt/thelounge