podbox/quadlets/weechat/weechat.container
2025-04-21 08:34:11 -05:00

25 lines
623 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
AutoUpdate=registry
Network=weechat.network
HostName=weechat
Volume=/volumes/books/weechat/home/user:/home/user
# FIXME: Better way to attach stdin and tty. Quadlets don't seem to support
# this well, probably because attaching to containers is weirder than `exec sh`
# into it. This works the first time, but detaching doesn't work right and
# reattaching a second time is pretty broken
PodmanArgs=-a stdin --tty=true