Wrong environment variable name for MariaDB password in docker-compose.yml
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.