1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 22:23:13 +00:00
Mirror of the Github repository https://github.com/wlinator/luminara
Find a file
wlinator 5a97af5ddc Merge branch 'compose-update' into 'main'
remove Dozzle from compose

See merge request wlinator/Racu!65
2024-04-17 10:42:06 +00:00
art Renew some icons 2024-03-28 20:03:50 +00:00
config Code clean-up 2024-03-29 13:17:51 -04:00
db Set environment variables with Docker Compose 2024-04-13 17:38:01 +02:00
handlers Add issue comment to error handling (wontfix for now) 2024-04-12 02:44:28 +02:00
lib Merge branch 'dev' into 'main' 2024-03-29 17:26:44 +00:00
modules Fix env var issue 2024-04-15 19:19:48 +02:00
services Set environment variables with Docker Compose 2024-04-13 17:38:01 +02:00
.env.template Allow editing all env vars in .env 2024-04-15 19:09:49 +02:00
.gitignore Update .gitignore 2024-03-07 13:19:41 -05:00
.gitlab-ci.yml Attempt to fix CD 2024-03-20 13:33:29 +01:00
docker-compose.yml remove Dozzle from compose 2024-04-17 06:40:00 -04:00
Dockerfile Merge branch 'dev' into 'main' 2024-04-12 00:32:06 +00:00
LICENSE Update LICENSE to MIT 2024-03-26 00:12:10 +00:00
Racu.py Set environment variables with Docker Compose 2024-04-13 17:38:01 +02:00
README.md Update README.md 2024-04-13 16:08:50 +00:00
requirements.txt Set environment variables with Docker Compose 2024-04-13 17:38:01 +02:00
users.yml.example Add Dozzle examples 2024-03-01 12:37:13 +01:00

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

Racu art

Self-host

The next part of this README explains how to self-host Racu, 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 Racu. Please replace the ID values in config/JSON/resources.json with your own set of emotes, or ask wlinator to let your bot join Racu's Emote Server.

Installation

Docker

Racu comes containerized with essential components such as MariaDB, its core application, Adminer, and Dozzle. To ensure smooth operation of Dozzle, it's necessary to copy users.yml.example to users.yml and configure an authentication user as outlined in the file. Refer to the file for detailed instructions.

To install Racu, run these commands:

git clone https://gitlab.com/wlinator/racu && cd racu

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 and Dozzle, ensuring better security and accessibility.

  • Adminer should be directed to port 8080.
  • Dozzle should be mapped to port 8081.

Alternative

You can run Racu 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 Racu are provided by Icons8.