Skip to content

Commit

Permalink
Merge pull request #56 from goryn-clade/develop-2.2.3
Browse files Browse the repository at this point in the history
Workaround for Lets Encrypt Cert Expiry
  • Loading branch information
samoneilll authored May 1, 2023
2 parents 6a14acb + 22a025b commit 9d6a9be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions development/restore_production_files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

git restore docker-compose.yml pathfinder.Dockerfile static/php/php.ini static/pathfinder/environment.ini
7 changes: 6 additions & 1 deletion pathfinder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 9d6a9be

Please sign in to comment.