mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
Add Sqlite as EF DB provider (#2487)
* Add Sqlite as EF DB provider Note: In-memory sqlite does not work across projects, since the migrator only runs on the Admin project Co-authored-by: Justin Baur <justindbaur@users.noreply.github.com> * Include example sqlite connection string * Add migrator assembly to sqlite connection * Update initial migration to current schema state * dotnet format 🤖 * Update package locks * Respect name set in BW_SSL_KEY for cert generation (#2490) (cherry picked from commit2469e10110
) * [PS-2016] Add ability to change UID/GID for Bitwarden unified (#2495) (cherry picked from commitc6fbe8cc44
) * Add SqliteMigrations project to unified Dockerfile Co-authored-by: Justin Baur <justindbaur@users.noreply.github.com> Co-authored-by: accolon <mail@accolon.net> Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
This commit is contained in:
3
dev/.gitignore
vendored
3
dev/.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
.data
|
||||
secrets.json
|
||||
db
|
||||
|
||||
# Docker container configurations
|
||||
.env
|
||||
@ -15,4 +16,4 @@ data_protection_dev.key
|
||||
data_protection_dev.pfx
|
||||
|
||||
# Reverse Proxy Conifg
|
||||
reverse-proxy.conf
|
||||
reverse-proxy.conf
|
||||
|
@ -13,6 +13,9 @@
|
||||
"mySql": {
|
||||
"connectionString": "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_123;database=vault_dev"
|
||||
},
|
||||
"sqlite": {
|
||||
"connectionString": "Data Source=/path/to/bitwardenServer/repository/server/dev/db/bitwarden.sqlite"
|
||||
},
|
||||
"identityServer": {
|
||||
"certificateThumbprint": "<your Identity certificate thumbprint with no spaces>"
|
||||
},
|
||||
|
Reference in New Issue
Block a user