diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d8f756e7..445abea9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,6 +20,7 @@ jobs: env: NODE_ENV: production MONGO_URI: ${{ secrets.MONGO_URI }} + JWT_SECRET: ${{ secrets.JWT_SECRET }} run: | docker-compose up -d --build diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 020b8594..0985250e 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -70,5 +70,6 @@ jobs: env: NODE_ENV: production MONGO_URI: ${{ secrets.MONGO_URI }} + JWT_SECRET: ${{ secrets.JWT_SECRET }} run: | docker-compose build frontend backend diff --git a/docker-compose.yml b/docker-compose.yml index c4f9f03d..cd35fadf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,6 +28,7 @@ services: - "443:443" volumes: - ./client/dist:/usr/share/nginx/html + - ./certbot/www:/var/www/certbot - /etc/letsencrypt:/etc/letsencrypt:ro depends_on: - frontend