Skip to content

Commit

Permalink
Merge pull request #131 from openradx/118-change-mounting-of-key-and-…
Browse files Browse the repository at this point in the history
…certificate-files

Store and mount CAs and certificates via /etc/ssl
  • Loading branch information
medihack authored Nov 1, 2024
2 parents 04e135b + e418684 commit ef096ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions compose/docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ services:
- web_data:/var/www/web
- ../backups:/backups
- /mnt:/mnt
- /etc/ssl:/etc/ssl

postgres:
image: postgres:17
Expand Down
2 changes: 1 addition & 1 deletion compose/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
bash -c "
wait-for-it -s init.local:8000 -t 300 &&
echo 'Starting web server ...'
daphne -b 0.0.0.0 -p 80 -e ssl:443:privateKey=/var/www/web/ssl/key.pem:certKey=/var/www/web/ssl/cert.pem adit.asgi:application
daphne -b 0.0.0.0 -p 80 -e ssl:443:privateKey=/etc/ssl/private/key.pem:certKey=/etc/ssl/private/cert.pem adit.asgi:application
"
deploy:
<<: *deploy
Expand Down

0 comments on commit ef096ca

Please # to comment.