Information: Minecraft Server: I started working on my old Minecraft server called Terona. Join our discord if you want :D Join

Configure Gaia

Every setting in .env, the optional health check, and every setting in the /admin dashboard and the /embed manager.

GaiaChecked

On this page

Gaia has two kinds of settings. Operator settings live in the .env file and apply to the whole bot. Server settings are made inside Discord with /admin and /embed, and each server has its own.

The .env file#

The installer creates .env in the install folder. To change a value, edit the file, then re-run the installer or run docker compose up -d in that folder. Only DISCORD_TOKEN is required.

VariableDefaultWhat it does
DISCORD_TOKENnoneThe bot token. Required.
APPLICATION_IDnoneThe application ID. Gaia checks that the token belongs to this application. CLIENT_ID and DISCORD_CLIENT_ID are also read.
TIMEZONEEurope/LjubljanaIANA timezone for scheduled embeds, the daily backup and shown dates, for example UTC or America/New_York.
BACKUP_HOUR3Local hour, 0 to 23, when the daily automatic backup runs, if you turned it on in /admin.
DATABASE_PATH./data/gaia.sqliteThe SQLite file. In Docker it is always /app/data/gaia.sqlite, so leave it alone there.
DIAGNOSTIC_GUILD_IDnoneServer ID for extra detail in rake commands:inspect.
DIAGNOSTIC_USER_IDnoneMember ID for extra detail in rake commands:inspect.
GAIA_HEALTH_ADDRoffAddress and port for the health check, for example 0.0.0.0:8080.

Gaia checks the settings when it starts. It stops with a clear message if the token is missing, the timezone is unknown or the backup hour is outside 0 to 23. See Troubleshooting.

There are no log settings in .env. Log channels are picked in Discord; see Logs. The LOG_* and MEMBER_LOG_* settings from version 1.0.1 are no longer read; see Update Gaia.

Health check#

The health check is for uptime monitors. It is off unless GAIA_HEALTH_ADDR is set.

  1. Set GAIA_HEALTH_ADDR=0.0.0.0:8080 in .env.
  2. Run docker compose up -d.
  3. Point your monitor at /health on port 8080 and have it look for the keyword ok.

GET /health or GET / answers 200 with ok while Gaia is connected to Discord, and 503 with disconnected otherwise. Anything else gets 404. The answer reveals nothing else: no server names, counts or version. The compose file publishes no ports, so reach it through a reverse proxy on the Docker network. / answers like /health, so a proxy that strips its path prefix still works.

If the address cannot be read, Gaia does not start. If the port is taken, the log shows Health check could not start and Gaia keeps running without it.

The /admin dashboard#

Type /admin in your server. It opens the Gaia Administration dashboard, visible only to you. Only members with the Discord Administrator permission can open it, and every button checks that again. Changes are saved at once.

The first time /admin runs in a server, it shows Logging Setup instead. Only the server owner can answer it. See Logs.

The dashboard shows which modules are on and what is configured. Its buttons open these sections:

SectionSettingsDefault
AutoRoleEnable or Disable, Set User Role, Set Bot Role, Remove User Role, Remove Bot RoleOn, no roles set
Voice RoomsEnable or Disable, Set Join Channel, Remove Join ChannelOn, no channel set
StaffAdd Staff, Remove StaffNo staff
ModerationEnable or Disable, Set Ticket Category, View Mutes, Remove Ticket CategoryOn, no category set
VerificationEnable or Disable, Set Role, Edit Message, Set Color, Preview, Send Verification, Update Message, Remove RoleOff
BackupsEnable Automatic or Disable Automatic, Create Backup, View Backups, Restore BackupAutomatic backups off
Remove/Add RolesAdd Role, Remove RoleNone
LogsSet Log Channel, Set Member Log Channel, Clear Log, Clear Member Log, Change ModeNo channels

Refresh reloads the dashboard. Back returns to it from a section.

The verification message starts with the title Verification, the text Click the button below to verify yourself., a green colour and the button text Verify.

Each feature has its own guide: AutoRole, Voice rooms, Moderation, Verification and Backups.

Remove/Add Roles#

This section adds or removes one role for many members at once.

  1. Click Add Role or Remove Role and pick the role.
  2. Choose Specific User, Everyone or All Bots.
  3. Confirm. Gaia only changes members who need it and reports how many changed and who failed.

Gaia can only manage roles below its own highest role, and you can only manage roles below yours. The server owner is not limited by their own role.

The /embed manager#

Type /embed to open the Gaia Embed Manager. It also needs the Discord Administrator permission. Its buttons are Create, Edit, Send, Scheduled Sends, List and Attachments. Templates belong to one server only. See Embed templates.

Source: Gaia v2.0.0 README, .env.example, docker-compose.yml, src/config.rs, src/main.rs, src/health.rs, src/services/admin_ui.rs, src/services/log_routing.rs and db/migrations, checked 9 November 2026.

Your likes

Only what this browser did. Your data on this device