WARNING: Please note that Leek is an experimental work in progress project, and as such, the API might change unexpectedly at any time.
This is a simple way to use a Docker container to run Leek and all of it's data with a MariaDB.
You will first need to clone the entire repo and modify it to fit your needs. You can do so by running the following command(s):
git clone https://github.com/LeekByLemon/Leek.git leek
cd leek
Just like the Leek package, you need to connfigure it using a .env file. The only difference is that you also need to add a root password for the MariaDB instance. The right way to do this is by setting the value of MARIADB_ROOT_PASSWORD, but you can also use any of the other root password options allowed by MariaDB.
If you want to add more cogs from other places, you can add their repos in requirements.txt
and they will be installed when you build the Docker image.
After configuring Leek, you just start it with Docker Compose by using docker compose up -d
. Everything will start automatically with the provided options.