Small bug fixes
This commit is contained in:
parent
fded20928b
commit
2e5f1b2ef7
|
@ -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
|
||||
|
|
12
Dockerfile
12
Dockerfile
|
@ -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
6
docker/bin/upgrade
Executable 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
|
Loading…
Reference in a new issue