Skip to content

Commit a84c75a

Browse files
authored
Merge pull request #335 from sil-org/fix-https
Release 8.1.2 - create cert at runtime, not at image build time
2 parents 10ee878 + b97cfcf commit a84c75a

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ RUN apt-get update && \
77
apt-get --no-install-recommends install -y ssl-cert && \
88
apt-get clean && \
99
rm -rf /var/lib/apt/lists/* && \
10-
make-ssl-cert generate-default-snakeoil && \
1110
a2enmod ssl
1211

1312
WORKDIR /data

application/run-tests-api.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ fi
2020
# Run database migrations
2121
/data/yii migrate --interactive=0
2222

23+
make-ssl-cert generate-default-snakeoil
24+
2325
# Start apache
2426
apache2ctl start
2527

application/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ if [[ $APP_ENV == "dev" ]]; then
3434
apt-get update && apt-get install -y php-xdebug
3535
fi
3636

37+
make-ssl-cert generate-default-snakeoil
38+
3739
if [[ $PARAMETER_STORE_PATH ]]; then
3840
config-shim -v --path $PARAMETER_STORE_PATH apache2ctl -k start -D FOREGROUND
3941
else

compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services:
3333
image: phpmyadmin:5
3434
ports:
3535
- "51151:80"
36-
- "51151:443"
36+
- "51153:443"
3737
environment:
3838
PMA_HOST: db
3939
PMA_USER: idpmgmt

0 commit comments

Comments
 (0)