podbox/quadlets/weechat/weechat.container
redbeardymcgee e6631eb43c Major reorganization
It makes more sense to wrap every quadlet in its own dir. This makes it
easier to copy a quadlet with batteries included for apps that require a
valid config to be useful.
2024-11-19 21:20:58 -06:00

23 lines
466 B
Text

[Unit]
Description=IRC client
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=default.target
[Container]
Image=docker.io/weechat/weechat:latest-alpine-slim
ContainerName=weechat
HostName=weechat
AutoUpdate=registry
# Persist the full home dir
# FIXME: requires `chmod 777 /volumes/books/weechat/home/user` on host
Volume=/volumes/books/weechat/home/user:/home/user
# FIXME: Better way to attach stdin and tty
PodmanArgs=-a stdin --tty=true