1
0
Fork 0
mirror of synced 2024-05-20 20:52:36 +12:00

Small bug fixes

This commit is contained in:
Eldad Fux 2020-03-21 12:06:44 +02:00
parent fded20928b
commit 2e5f1b2ef7
4 changed files with 22 additions and 3 deletions

View file

@ -1,3 +1,10 @@
# Version 0.5.1 (PRE-RELEASE)
## Bug Fixes
* Delayed SSL init when server startup for traefik to be ready for HTTP challenge
* Enabled easy access to the upgrade tool from the terminal
# Version 0.5.0 (PRE-RELEASE)
## Features

View file

@ -131,8 +131,14 @@ RUN mkdir -p /storage/uploads && \
# Supervisord Conf
COPY ./docker/supervisord.conf /etc/supervisord.conf
COPY ./docker/entrypoint.sh /entrypoint.sh
RUN chmod 775 /entrypoint.sh
# Start
COPY ./docker/bin/start /start
RUN chmod 775 /start
# Upgrade
COPY ./docker/bin/upgrade /upgrade
RUN chmod 775 /upgrade
# Letsencrypt Permissions
RUN mkdir -p /etc/letsencrypt/live/ && chmod -Rf 755 /etc/letsencrypt/live/
@ -141,4 +147,4 @@ EXPOSE 80
WORKDIR /usr/share/nginx/html
CMD ["/bin/bash", "/entrypoint.sh"]
CMD ["/bin/bash", "/start"]

6
docker/bin/upgrade Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
export PHP_VERSION=$PHP_VERSION
# Init server settings
php /usr/share/nginx/html/app/tasks/upgrade.php run