Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
/ Red-container Public archive

The Red Discord bot, packaged with alpine

License

Notifications You must be signed in to change notification settings

vilgotf/Red-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red-container

Minimal rootless implementation of the Red Discord bot.

Docker Pulls

List of tags

  1. minimal (no audio support)
  2. audio / latest
  3. full (gcc etcetera)
  4. audio-debian / debian
  5. full-debian

(1, 2 and 3 are based on Alpine)

How to run

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>

Updates

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.