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?
> -e MYSQL_ROOT_PASSWORD=<my-secret-pw>\
> -e MYSQL_DATABASE=bitwarden\
> -e MYSQL_USER=<bitwarden_user>\
> -e MYSQL_PASSWORD=<bitwarden_pw> -d mysql:5.7
Thanks in advance
For MySQL, you need to use the bitwardenrs/server-mysql image and you'd have a variable like this DATABASE_URL=mysql://[user[:password]@]host/database_name.
@dani-garcia commented on GitHub (Aug 31, 2019):
For MySQL, you need to use the `bitwardenrs/server-mysql` image and you'd have a variable like this `DATABASE_URL=mysql://[user[:password]@]host/database_name`.
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?
@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?
bitwarden_rs does not use/read any of the MYSQL_* variables, so you do need to specify the connection parameters in DATABASE_URL as @dani-garcia explained above.
@mprasil commented on GitHub (Sep 4, 2019):
`bitwarden_rs` does not use/read any of the `MYSQL_*` variables, so you do need to specify the connection parameters in `DATABASE_URL` as @dani-garcia explained above.
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.
@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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.