Skip to content

Docker Install Instructions

Sellara edited this page Aug 6, 2024 · 4 revisions

How to install Azzy 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
  • nano /AzzyBot/Settings/appsettings.json
  • Adjust all settings as you want
  • Save via CTRL + X and Y

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

Release version change

Warning

Even though this is possible I do not recommend it! Continue at your own risk! There will be no support for older minor versions (1.9.x) when a newer (1.10.x) is available!

If you, somehow, get the feeling you want to stay on your current minor version forever (not recommended at all!), you can change the docker-compose.yml so it's only pulling the latest image of your minor version.

Just change this: image: sellagh/azzybot:latest to this: image: sellagh/azzybot:rel-1.9.x

Clone this wiki locally