Skip to content

Wrong environment variable name for MariaDB password in docker-compose.yml #117

@hasiniaina7

Description

@hasiniaina7

Summary:
In the current docker/docker-compose.yml, the environment variable for the MariaDB password is misspelled as MARDIADB_PASSWORD instead of MARIADB_PASSWORD.
This typo prevents the database container from receiving the correct credentials and causes connection errors during container startup.

🧩 Steps to Reproduce

Clone the RadiusDesk repo and build using sudo ./local_build.sh.

Check the container logs for radiusdesk-mariadb.

You’ll see authentication or connection errors because the password variable is ignored.

⚙️ Expected Behavior

The MariaDB container should correctly receive the environment variable:

environment:

  • "MARIADB_PASSWORD=rd"

🧾 Actual Behavior

The file currently contains:

environment:

  • "MARDIADB_PASSWORD=rd"

(MARDIADB → misspelled)

As a result, MariaDB starts without a password, and dependent services like radiusdesk fail to connect.

✅ Suggested Fix

Replace:

  • "MARDIADB_PASSWORD=rd"

with:

  • "MARIADB_PASSWORD=rd"

🖥️ Environment

Repository: radiusdesk/rdcore

Folder: /docker/docker-compose.yml

Detected in branch: main (or cake4)

💡 Additional Notes

After correcting the typo, the build completes normally and the web UI can connect to the database without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions