Skip to content

lrstanley/autodelete-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoDelete Discord Bot Binaries/Container Image

This repository contains an auto-built container image, from the main branch of github.com/riking/AutoDelete, as well as generated windows/linux/macos binaries for the bot within that repository.

See more here.

🔗 Table of Contents

💻 Installation

Check out the releases page for prebuilt versions.

🐳 Container Images (ghcr)

$ docker run -d \
    --name autodelete \
    -v config.yml:/autodelete/config.yml \
    -v ./data/:/autodelete/data/ \
    --restart=always \
    ghcr.io/lrstanley/autodelete-docker:latest

💻 Simple Windows Execution

If you'd like to use a script to handle everything for you, simply follow these steps:

  1. Copy the autodelete-windows folder from this repository, into a directory locally.
  2. Run start.bat, it will generate the config file. Update it with your configuration.
  3. Re-run start.bat, it will download the latest autodelete binary, and then start the bot.

💻 Linux

# download the appropriate binary for your platform, e.g:
wget -O autodelete-bot https://liam.sh/-/gh/dl/autodelete-docker/latest/autodelete_linux_amd64 # x86-64
wget -O autodelete-bot https://liam.sh/-/gh/dl/autodelete-docker/latest/autodelete_linux_arm   # arm

# make the binary executable, so you can run it:
chmod +x autodelete-bot

# add your configuration:
vim config.yml # or nano config.yaml

# run the bot:
./autodelete-bot

🧰 Build From Source

Check out the steps within the Dockerfile, or the source repos build documentation.

🙋‍♂️ Support & Assistance

  • ❤️ Please review the Code of Conduct for guidelines on ensuring everyone has the best experience interacting with the community.
  • 🙋‍♂️ Take a look at the support document on guidelines for tips on how to ask the right questions.
  • 🐞 For all features/bugs/issues/questions/etc, head over here.

🤝 Contributing

  • ❤️ Please review the Code of Conduct for guidelines on ensuring everyone has the best experience interacting with the community.
  • 📋 Please review the contributing doc for submitting issues/a guide on submitting pull requests and helping out.
  • 🗝️ For anything security related, please review this repositories security policy.

⚖️ License

MIT License

Copyright (c) 2022 Liam Stanley <me@liamstanley.io>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Also located here