Merge pull request #56 from goryn-clade/develop-2.2.3
Workaround for Lets Encrypt Cert Expiry
This commit is contained in:
commit
9d6a9be253
2 changed files with 9 additions and 1 deletions
3
development/restore_production_files.sh
Normal file
3
development/restore_production_files.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
git restore docker-compose.yml pathfinder.Dockerfile static/php/php.ini static/pathfinder/environment.ini
|
||||
|
|
@ -16,7 +16,12 @@ RUN composer install
|
|||
|
||||
FROM trafex/alpine-nginx-php7:ba1dd422
|
||||
|
||||
RUN apk update && apk add --no-cache busybox-suid sudo php7-redis php7-pdo php7-pdo_mysql php7-fileinfo php7-event shadow gettext bash apache2-utils logrotate
|
||||
RUN apk update && apk add --no-cache busybox-suid sudo php7-redis php7-pdo php7-pdo_mysql \
|
||||
php7-fileinfo php7-event shadow gettext bash apache2-utils logrotate ca-certificates
|
||||
|
||||
# fix expired DST Cert
|
||||
RUN sed -i '/^mozilla\/DST_Root_CA_X3.crt$/ s/^/!/' /etc/ca-certificates.conf \
|
||||
&& update-ca-certificates
|
||||
|
||||
# symlink nginx logs to stdout/stderr for supervisord
|
||||
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue