Help with mariadb config #4489
Labels
area:core
issues describing changes to the core of uptime kuma
area:deployment
related to how uptime kuma can be deployed
help
🛡️ Security Policy
📝 Describe your problem
I would like to use external mariadb instead of sqlite. I think this is supported but cannot find working examples. Any guidance would be appreciated.
I tried setting
UPTIME_KUMA_DB_*
environment variables in docker-compose.yml to connect to a mariadb server:based on https://github.com/louislam/uptime-kuma/blob/master/server/setup-database.js#L71-L81
But uptime-kuma still seems to use sqlite
This env var
UPTIME_KUMA_ENABLE_EMBEDDED_MARIADB (2.0.0) Set 1 to enable
is mentioned in the docs https://github.com/louislam/uptime-kuma/wiki/Environment-Variables
but it is not clear to me how to use it. I would prefer to use external mariadb but at this point I'm looking for guidance on if/how I can use mariadb in any way.
Thanks in advance!
📝 Error Message(s) or Log
no errors
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
louislam/uptime-kuma:1.23.11-debian Docker container
🌐 Browser
all
🖥️ Deployment Environment
The text was updated successfully, but these errors were encountered: