1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 20:23:12 +00:00
Mirror of the Github repository https://github.com/wlinator/luminara
Find a file
2024-07-07 16:36:48 +02:00
config Replace all logging 2024-06-21 21:58:42 +02:00
db Replace all logging 2024-06-21 21:58:42 +02:00
handlers Fix documentation 2024-07-07 16:36:48 +02:00
lib Optimize formatter.py 2024-07-07 13:55:12 +02:00
modules Remove image from info command 2024-06-21 22:00:31 +02:00
services Fix documentation 2024-07-07 16:36:48 +02:00
.env.template Rename to Lumi 2024-06-16 00:45:24 +02:00
.gitignore Add vscode to gitignore 2024-06-24 07:50:39 -04:00
Client.py Fix documentation 2024-07-07 16:36:48 +02:00
docker-compose.yml Rename some things to make more sense 2024-06-20 12:56:07 +02:00
Dockerfile Change JSON links to new name 2024-06-16 01:26:12 +02:00
LICENSE Cleanup 2024-06-20 19:48:49 +02:00
Luminara.py Replace all logging 2024-06-21 21:58:42 +02:00
README.md Cleanup 2024-06-20 19:48:49 +02:00
requirements.txt Switch to loguru for logging 2024-06-20 20:57:45 +02:00

You can invite me with this link. Thanks for using Luminara!

Lumi art

Self-host

The next part of this README explains how to self-host Lumi, this allows you to host your own version of my code and create a personalized Discord bot.

Note: because the .slots and .blackjack commands use custom (animated) emoji, these commands will break when you self-host Lumi. Please replace the ID values in config/JSON/resources.json with your own set of emotes.

Installation

Docker

Lumi comes containerized with essential components such as MariaDB, its core application and Adminer.

To install Lumi, run these commands:

git clone https://git.wlinator.org/Luminara/Lumi && cd Lumi

Copy .env.template to .env and fill out the variables.

docker compose up -d --build

Please note that it's highly recommended to establish a reverse proxy setup for Adminer, ensuring better security and accessibility.

  • Adminer should be directed to port 8080.

Alternative

You can run Lumi without Docker, however I don't provide support or documentation for this. Here are some requirements to get you started.

Environment variables (.env)

  • TOKEN: your Discord Bot Token, you can get this here.
  • DBX_*: set these up if you want to make database backups to your Dropbox app.
  • MARIADB_USER: the username for your MariaDB database.
  • MARIADB_PASSWORD: the password for your database.
  • MARIADB_ROOT_PASSWORD: can be ignored unless you have a specific use for it.
  • MARIADB_DATABASE: the name of your database.

Other variables can be specified in docker.compose.yml (core)


Some icons used in Lumi are provided by Icons8.