diff options
-rwxr-xr-x | devourer/docker-entrypoint.sh | 4 | ||||
-rw-r--r-- | docker-compose.yaml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/devourer/docker-entrypoint.sh b/devourer/docker-entrypoint.sh index db76c6b..c8616c5 100755 --- a/devourer/docker-entrypoint.sh +++ b/devourer/docker-entrypoint.sh @@ -4,8 +4,8 @@ if [ "$SERVER_DEPLOYMENT_TYPE" = "deployment" ]; then uvicorn devourer:app \ --host 0.0.0.0 \ --port 80 \ - --ssl-certfile /certs/server.cert \ - --ssl-keyfile /certs/server.key \ + --ssl-certfile /etc/letsencrypt/live/mila.terminaldweller.com/fullchain.pem \ + --ssl-keyfile /etc/letsencrypt/live/mila.terminaldweller.com/privkey.pem \ --no-proxy-headers \ --no-server-header \ --no-date-header diff --git a/docker-compose.yaml b/docker-compose.yaml index fd29695..b3441e2 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -25,6 +25,8 @@ services: volumes: - devourer-nltk-data:/root/nltk_data/ - devourer-hg-cache:/huggingface/cache/ + - /etc/letsencrypt/live/mila.terminaldweller.com/privkey.pem:/etc/letsencrypt/live/mila.terminaldweller.com/privkey.pem + - /etc/letsencrypt/live/mila.terminaldweller.com/fullchain.pem:/etc/letsencrypt/live/mila.terminaldweller.com/fullchain.pem tika: image: apache/tika:2.0.0 networks: |