Minimal rootless implementation of the Red Discord bot.
minimal
(no audio support)audio
/latest
full
(gcc etcetera)audio-debian
/debian
full-debian
(1, 2 and 3 are based on Alpine)
podman run -it --label "io.containers.autoupdate=image" --name red -v red-discordbot:/data:Z docker.io/vilgotf/red-discordbot (CTRL C after done with setup)
podman generate systemd --restart-policy=always --new --files --name red
mv container-red.service ~/.config/systemd/user
systemctl --user enable --now container-red.service
The environmental variables PREFIX
and TOKEN
can be set for noninteractive setup
If you want the container to continue run even when your not logged in:
loginctl enable-linger <username>
The image is automatically rebuilt every hour if a new release is out or if the baseimage has been updated.
To update your own bot simply run podman auto-update
.