1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

mssql healthcheck

This commit is contained in:
Kyle Spearrin 2019-07-26 12:16:38 -04:00
parent f78b212aa8
commit 29f0a2aa12

View File

@ -22,4 +22,6 @@ RUN /opt/mssql/bin/mssql-conf set telemetry.customerfeedback false
RUN echo 127.0.0.1 settings-win.data.microsoft.com >> /etc/hosts
RUN echo 127.0.0.1 vortex.data.microsoft.com >> /etc/hosts
HEALTHCHECK --timeout=3s CMD sqlcmd -S localhost -U sa -P ${SA_PASSWORD} -Q "SELECT 1" || exit 1
ENTRYPOINT ["/entrypoint.sh"]