mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-14 07:10:48 +00:00
Run with PYTHONUNBUFFERED so we can always see log output
This commit is contained in:
@@ -203,6 +203,9 @@ EXPOSE 8008/tcp 8448/tcp
|
||||
# SYNAPSE_ENABLE_METRICS=1).
|
||||
EXPOSE 19090/tcp
|
||||
|
||||
# Python's `print()` buffers output by default, this tells Python to disable buffering.
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
ENTRYPOINT ["/start.py"]
|
||||
|
||||
HEALTHCHECK --start-period=5s --interval=15s --timeout=5s \
|
||||
|
||||
Reference in New Issue
Block a user