mirror of
https://github.com/bitwarden/server.git
synced 2026-02-08 01:43:15 +08:00
10 lines
228 B
Bash
10 lines
228 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
set -e
|
||
|
|
|
||
|
|
OUTPUT_DIR=/etc/bitwarden
|
||
|
|
|
||
|
|
docker run -it --rm --name setup --network container:mssql -v $OUTPUT_DIR:/bitwarden bitwarden/setup \
|
||
|
|
dotnet Setup.dll -update 1 -db 1
|
||
|
|
|
||
|
|
echo "Database update complete"
|