mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
Fix mssql healthcheck (#1055)
Let's let some more time for the container to start
This commit is contained in:
@@ -18,7 +18,7 @@ RUN chmod +x /entrypoint.sh \
|
|||||||
# Does not work unfortunately (https://github.com/bitwarden/server/issues/286)
|
# Does not work unfortunately (https://github.com/bitwarden/server/issues/286)
|
||||||
RUN /opt/mssql/bin/mssql-conf set telemetry.customerfeedback false
|
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
|
-S localhost -U sa -P ${SA_PASSWORD} -Q "SELECT 1" || exit 1
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user