mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
print environment after start
This commit is contained in:
@ -51,6 +51,11 @@ function updateDatabase() {
|
||||
echo "Database update complete"
|
||||
}
|
||||
|
||||
function printEnvironment() {
|
||||
docker run -it --rm --name setup -v $OUTPUT_DIR:/bitwarden bitwarden/setup \
|
||||
dotnet Setup.dll -printenv 1 -env $OS
|
||||
}
|
||||
|
||||
# Commands
|
||||
|
||||
if [ "$1" == "start" -o "$1" == "restart" ]
|
||||
@ -59,6 +64,7 @@ then
|
||||
updateLetsEncrypt
|
||||
dockerComposeUp
|
||||
dockerPrune
|
||||
printEnvironment
|
||||
elif [ "$1" == "stop" ]
|
||||
then
|
||||
dockerComposeDown
|
||||
|
Reference in New Issue
Block a user