File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ echo "Checking database status."
5858until nc -z -v -w30 $DB_HOST 3306
5959do
6060 echo " Waiting for database connection..."
61- # wait for 5 seconds before check again
62- sleep 5
61+ # wait for 1 seconds before check again
62+ sleep 1
6363done
6464
6565# # make sure the db is set up
Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar un
2828RUN rm /usr/local/etc/php-fpm.d/www.conf.default \
2929 && echo "* * * * * /usr/local/bin/php /app/artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root \
3030 && sed -i s/ssl_session_cache/#ssl_session_cache/g /etc/nginx/nginx.conf \
31- && mkdir -p /var/run/php /var/run/nginx \
32- && apk del --no-cache libpng-dev libxml2-dev libzip-dev
31+ && mkdir -p /var/run/php /var/run/nginx
3332
3433COPY .github/docker/default.conf /etc/nginx/conf.d/default.conf
3534COPY .github/docker/www.conf /usr/local/etc/php-fpm.d/www.conf
Original file line number Diff line number Diff line change @@ -34,8 +34,9 @@ x-common:
3434#
3535services :
3636 database :
37- image : mariadb:10.4
37+ image : library/mysql:8.0
3838 restart : always
39+ command : --default-authentication-plugin=mysql_native_password
3940 volumes :
4041 - " /srv/pterodactyl/database:/var/lib/mysql"
4142 environment :
You can’t perform that action at this time.
0 commit comments