Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit d5971ec

Browse files
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

‎docker/Dockerfile

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /