mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-01 11:19:52 +03:00
Spefifying the mariadb ip and port? #391
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mannp on GitHub (Aug 30, 2019).
Hi there, couple of questions on mysql support :)
Does the docker build include mysql support and how do i specify the IP address of the mariadb database please?
Do I add that into the database url?
Thanks in advance
@dani-garcia commented on GitHub (Aug 31, 2019):
For MySQL, you need to use the
bitwardenrs/server-mysqlimage and you'd have a variable like thisDATABASE_URL=mysql://[user[:password]@]host/database_name.@mannp commented on GitHub (Aug 31, 2019):
Does your image have anything specific as I have created a db in my goto mariadb docker?
Is there a reason to have to specify the URL when all of the variables are set as environment variables already?
User / /Pass / database .. are these not needed then if they are getting hard coded in the URL?
@mprasil commented on GitHub (Sep 4, 2019):
bitwarden_rsdoes not use/read any of theMYSQL_*variables, so you do need to specify the connection parameters inDATABASE_URLas @dani-garcia explained above.@mannp commented on GitHub (Sep 12, 2019):
The naming of the docker looks like it was a mysql docker that had to be used with the bitwardenrs docker.
I now see that it is a bitwardenrs docker that is modified to use a mysql client and my standard mariadb docker can be used just fine.
Not that clear, but I will close this now.