mirror of
https://github.com/tommytran732/Synapse-Docker.git
synced 2024-10-01 08:25:44 -04:00
commit
3e0101723f
@ -64,6 +64,7 @@ RUN apk -U upgrade \
|
||||
zlib \
|
||||
tzdata \
|
||||
xmlsec \
|
||||
curl \
|
||||
&& adduser -g ${GID} -u ${UID} --disabled-password --gecos "" synapse \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
@ -81,3 +82,6 @@ VOLUME /data
|
||||
EXPOSE 8008/tcp 8009/tcp 8448/tcp
|
||||
|
||||
ENTRYPOINT ["python3", "start.py"]
|
||||
|
||||
HEALTHCHECK --start-period=5s --interval=15s --timeout=5s \
|
||||
CMD curl -fSs http://localhost:8008/health || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user