-
I would like to set up babybuddy to use an external Mariadb instance I already have available. the linuxserver.io page says to use the environment variables found in https://github.com/babybuddy/babybuddy#configuration, but the link is dead. I've tried looking at the new docs here: https://docs.baby-buddy.net/configuration/database/ but I'm completely clueless as to what they mean. Could anyone provide an example or some guidance on how to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Sorry about the dead link. I just broke that documentation in to subsections. I don't have an example for you (perhaps someone else using LSIO may be able to cook one up) but essentially you need to pass those environment variables to the app to use them. The primary (and probably most confusing) on you'll need for you situation is The rest of the variables should be pretty self-explanatory (host, name, user, password, port). |
Beta Was this translation helpful? Give feedback.
Sorry about the dead link. I just broke that documentation in to subsections.
I don't have an example for you (perhaps someone else using LSIO may be able to cook one up) but essentially you need to pass those environment variables to the app to use them.
The primary (and probably most confusing) on you'll need for you situation is
DB_ENGINE
which you can set todjango.db.backends.mysql
for MariaDB support.The rest of the variables should be pretty self-explanatory (host, name, user, password, port).