mirror of
https://github.com/bitwarden/server.git
synced 2025-02-01 23:31:41 +01:00
Fix mssql healthcheck (#1030)
Let's let time for the container to start
This commit is contained in:
parent
085987d2f1
commit
8d9b1ff214
@ -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 --timeout=3s CMD /opt/mssql-tools/bin/sqlcmd \
|
||||
HEALTHCHECK --start-period=60s --timeout=3s CMD /opt/mssql-tools/bin/sqlcmd \
|
||||
-S localhost -U sa -P ${SA_PASSWORD} -Q "SELECT 1" || exit 1
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user