Browse Source

Fix mssql healthcheck (#1055)

Let's let some more time for the container to start
pull/1090/head
Mart 5 years ago committed by GitHub
parent
commit
0f962809bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      util/MsSql/Dockerfile

2
util/MsSql/Dockerfile

@ -18,7 +18,7 @@ RUN chmod +x /entrypoint.sh \ @@ -18,7 +18,7 @@ RUN chmod +x /entrypoint.sh \
# Does not work unfortunately (https://github.com/bitwarden/server/issues/286)
RUN /opt/mssql/bin/mssql-conf set telemetry.customerfeedback false
HEALTHCHECK --start-period=60s --timeout=3s CMD /opt/mssql-tools/bin/sqlcmd \
HEALTHCHECK --start-period=120s --timeout=3s CMD /opt/mssql-tools/bin/sqlcmd \
-S localhost -U sa -P ${SA_PASSWORD} -Q "SELECT 1" || exit 1
ENTRYPOINT ["/entrypoint.sh"]

Loading…
Cancel
Save