Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit d5971ec

Browse files
committed
Reduce the 15 second container startup to 10 seconds
15 seconds seems to be overkill, whereas 10 seconds seems more reasonable
1 parent f467849 commit d5971ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ RUN echo "echo 127.0.0.1 docker-dev.dbhub.io docker-dev >> /etc/hosts" >> /usr/l
9797
echo "/opt/rabbitmq/sbin/rabbitmq-server &" >> /usr/local/bin/start.sh && \
9898
echo "" >> /usr/local/bin/start.sh && \
9999
echo "# Wait for RabbitMQ to start before launching the DBHub.io daemons" >> /usr/local/bin/start.sh && \
100-
echo "sleep 15" >> /usr/local/bin/start.sh && \
100+
echo "sleep 5" >> /usr/local/bin/start.sh && \
101101
echo "" >> /usr/local/bin/start.sh && \
102102
echo "su - dbhub -c 'if [ -f "${DBHUB_SOURCE}/.env" ]; then source ${DBHUB_SOURCE}/.env; fi; CONFIG_FILE=${CONFIG_FILE} /usr/local/bin/dbhub-webui >>/home/dbhub/output.log 2>&1 &'" >> /usr/local/bin/start.sh && \
103103
echo "su - dbhub -c 'if [ -f "${DBHUB_SOURCE}/.env" ]; then source ${DBHUB_SOURCE}/.env; fi; CONFIG_FILE=${CONFIG_FILE} /usr/local/bin/dbhub-api >>/home/dbhub/output.log 2>&1 &'" >> /usr/local/bin/start.sh && \

0 commit comments

Comments
 (0)