mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
Merge 82d3ffccf7 into 044ea2b034
This commit is contained in:
commit
5868e1c565
@ -17,6 +17,10 @@ LABEL maintainer="Simon Felding <sife@adm.ku.dk>"
|
||||
EXPOSE 25/tcp
|
||||
EXPOSE 143/tcp
|
||||
|
||||
# Add healthcheck to monitor proton-bridge process
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=60s \
|
||||
CMD bash -c "pgrep -f proton-bridge || exit 1"
|
||||
|
||||
# Install dependencies and protonmail bridge
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends socat pass libsecret-1-0 ca-certificates \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user