Skip to content

Commit

Permalink
Store and mount CAs and certificates via /etc/ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
mdebic committed Oct 31, 2024
1 parent 04e135b commit e418684
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 e418684

Please # to comment.