|
|
@@ -34,13 +34,16 @@ WORKDIR /data |
|
|
|
# Copy the caddy config |
|
|
|
COPY conf-workers/caddy.complement.json /root/caddy.json |
|
|
|
|
|
|
|
COPY conf-workers/postgres.supervisord.conf /etc/supervisor/conf.d/postgres.conf |
|
|
|
COPY conf-workers/caddy.supervisord.conf /etc/supervisor/conf.d/caddy.conf |
|
|
|
|
|
|
|
# Copy the entrypoint |
|
|
|
COPY conf-workers/start-complement-synapse-workers.sh / |
|
|
|
|
|
|
|
# Expose caddy's listener ports |
|
|
|
EXPOSE 8008 8448 |
|
|
|
|
|
|
|
ENTRYPOINT /start-complement-synapse-workers.sh |
|
|
|
ENTRYPOINT ["/start-complement-synapse-workers.sh"] |
|
|
|
|
|
|
|
# Update the healthcheck to have a shorter check interval |
|
|
|
HEALTHCHECK --start-period=5s --interval=1s --timeout=1s \ |
|
|
|