Skip to content

Docker Install Preview Version

Sellara edited this page Jun 1, 2024 · 1 revision

Caution

This is a pre-release version! This version is nowhere finish and does not represent the final product! If you intend to use this version - please be aware that you will encounter bugs and unfinished features. DO NOT USE THIS IN PRODUCTION ENVIRONMENTS!

How to install AzzyBot Previews in Docker?

Install Docker

  • Follow the instructions on this page to install Docker on your server
  • Always install the latest Docker engine!
  • Also install docker compose!

Download the docker.zip

  • Go to the releases page
  • Download the latest version called release-docker.zip
  • Upload the file to the server
  • Unzip the file on your server

Adjust the required settings to your likings

  • Get yourself an overview about all of the settings
    • Settings which are not listed on the page are NOT added to the bot!
    • The setting "Database:EncryptionKey" has to be a 32 characters/numeric long string. It's used to encrypt your sensitive data inside the database
  • nano /AzzyBot/Settings/AzzyBotSettings-Docker.json
  • Adjust all settings as you want
  • Save via CTRL + X and Y

Warning

If you change your EncryptionKey after the bot initialized it's database - your data is lost and cannot be recovered!

Do the post-install-steps

Start the bot

  • Go into the root directory where you extracted the docker.zip
  • Execute the following command

Run normally

  • CURRENT_UID=$(id -u):$(id -g) docker compose up

Run in background

  • CURRENT_UID=$(id -u):$(id -g) docker compose up -d

Stop the bot

  • Go into the root directory where you extracted the docker.zip
  • Execute the following command docker compose down
Clone this wiki locally