Skip to content

Commit

Permalink
Add support for Azure managed SQL Server
Browse files Browse the repository at this point in the history
  • Loading branch information
xionglingfeng committed Feb 13, 2023
1 parent ec4ba2d commit ad9a2e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ if [ -n "$isLikelyRedmine" ]; then
file_env 'REDMINE_DB_PASSWORD' ''
file_env 'REDMINE_DB_DATABASE' ''
file_env 'REDMINE_DB_ENCODING' ''
file_env 'REDMINE_DB_AZURE' 'true'
else
echo >&2
echo >&2 'warning: missing REDMINE_DB_MYSQL, REDMINE_DB_POSTGRES, or REDMINE_DB_SQLSERVER environment variables'
Expand Down Expand Up @@ -123,6 +124,7 @@ if [ -n "$isLikelyRedmine" ]; then
password \
database \
encoding \
azure \
; do
env="REDMINE_DB_${var^^}"
val="${!env}"
Expand Down

0 comments on commit ad9a2e8

Please sign in to comment.