diff --git a/compose/docker-compose.base.yml b/compose/docker-compose.base.yml index fa172258..2424b920 100644 --- a/compose/docker-compose.base.yml +++ b/compose/docker-compose.base.yml @@ -41,6 +41,7 @@ services: - web_data:/var/www/web - ../backups:/backups - /mnt:/mnt + - /etc/ssl:/etc/ssl postgres: image: postgres:17 diff --git a/compose/docker-compose.prod.yml b/compose/docker-compose.prod.yml index 3eda9b00..81b341b4 100644 --- a/compose/docker-compose.prod.yml +++ b/compose/docker-compose.prod.yml @@ -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