mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
alive check for nginx
This commit is contained in:
@ -5,6 +5,7 @@ LABEL com.bitwarden.product="bitwarden"
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
gosu \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY nginx.conf /etc/nginx
|
||||
@ -19,4 +20,6 @@ EXPOSE 8443
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
HEALTHCHECK curl -L -f http://localhost/alive || exit 1
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
Reference in New Issue
Block a user